일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- MVVM
- 깃허브
- React JS
- 닷넷
- 바인딩
- 플러터
- page
- HTML
- 애니메이션
- Maui
- listview
- MSSQL
- JavaScript
- MS-SQL
- 함수
- 마우이
- Flutter
- typescript
- Binding
- spring boot
- Animation
- .NET
- 오류
- 자바스크립트
- Firebase
- GitHub
- AnimationController
- db
- 파이어베이스
- 리엑트
- Today
- Total
목록리스트뷰 (2)
개발노트
이전 시간에 만들었던 page_dump.dart에 ListView 위젯을 사용하여 리스트에 있는 아이템을 노출시켜 보도록 하겠습니다. ListView의 Item으로 사용할 객체를 따로 생성하기 위해 models 라는 폴터를 생성하고 거기에 entity_dump.dart를 생성하겠습니다. Dump라는 객체를 먼저 생성하고, Dump를 item으로 갖는 List인 DumpList를 생성하도록 하겠습니다. 객체 생성. entity_dump.dart import 'package:flutter/material.dart'; enum Level { easy, nomal, hard } class Dump { late final String title, content; Level level; IconData icons;..
이번 시간에는 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) 항목이 추가 또는 제거되거나 전체 목록이 새로 고쳐질 때 알림을 제공하는 동적 데이터 ..