일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- HTML
- .NET
- Binding
- 플러터
- Animation
- 닷넷
- GitHub
- spring boot
- Maui
- 애니메이션
- page
- Firebase
- listview
- MSSQL
- db
- JavaScript
- 함수
- 리엑트
- AnimationController
- 마우이
- MVVM
- Flutter
- 바인딩
- 오류
- typescript
- MS-SQL
- React JS
- 깃허브
- 자바스크립트
- 파이어베이스
- Today
- Total
목록객체 (2)
개발노트
class (클래스) class MyClass { private name: string; private age: number; constructor(name: string, age: number) { // 클래스의 인스턴스 변수에 값을 할당 this.name = name; this.age = age; // 생성자에서 추가적인 초기화 로직 수행 가능 console.log(`${this.name} 객체가 생성되었습니다.`); } // 클래스의 메서드 sayHello() { console.log(`안녕하세요, 저는 ${this.name}이고, ${this.age}살입니다.`); } } // 클래스의 객체 생성 const myObject = new MyClass("Alice", 30); myObject.sayH..
이번 시간에는 List가 아닌 ObservableCollection 라는 클래스를 사용하여 ListView에 연동 시켜본다. (MVVM 패턴 유지) - Model: Quest.cs - View: Page21.xaml , Page21.xaml.cs (코드 비하인드) - ViewModel: Page21_ViewModel.cs https://docs.microsoft.com/ko-kr/dotnet/api/system.collections.objectmodel.observablecollection-1?view=net-6.0 ObservableCollection 클래스 (System.Collections.ObjectModel) 항목이 추가 또는 제거되거나 전체 목록이 새로 고쳐질 때 알림을 제공하는 동적 데이터 ..