Ref: https://github.com/codinginflow/ImageSearchApp/tree/Part-13_Handling-Process-Death 결과화면 - 이전 Unsplash API를 MVC 구조로 공부한 것을 포스팅한 만큼 이번에 동일한 API를 MVVM구조로 어떻게 구축할 수 있는지 알아보는 것을 최우선으로 함 - gradle 설정이 참조 소스와 다르므로 주석이나 몇몇 코드들도 살짝 상이함 (거의 다 최신으로 설정) 구조 - 보통 api로 받는 정보의 경우 data로 분류하는데 이 튜토리얼의 경우 큰 것(ex: {totla: xxx, total_pages: xxx, results: [~~~]})은 api로 실질적으로 필요한 데이터가 담긴 model인 UnsplashPhoto(resul..
주안점 1. SharedPreferences를 통한 영구 저장 2. RecyclerView를 통하여 사진/검색어 목록 반복 출력 3. Retrofit을 통한 API 호출 4. 검색어 목록(SearchView)과 사진 출력화면(PhotoView)을 한 Layout으로 처리하기 5. 저장된 검색어 중복처리 6. 검색어 저장 모드 설정 미해결 1. SearchView EditText에 검색어를 컴퓨터 키보드로 작성 후 검색하면 저장된 검색어 중 하나를 클릭 시 나타나는 selectableItemBackground(light pink)효과가 해당 검색어로 재로딩되는 사진 RecyclerView에 그대로 안개처럼 적용되는 부분. 에뮬레이터의 키보드 이용시 해당 현상X. Ref: https://www.youtube..
- Total
- Today
- Yesterday
- querydsl5.0.0jakarta
- unsplashAPI
- flutter_storage_not_working_for_the_first_time
- AndroidWirelessDebug
- mvvm
- flutter
- android_domain
- android_app_links_domain
- android_app_links
- KotlinFlow
- flutter_secure_storage_issue_iOS
- android_app_link_domain_works_with_adb_but_not_works_with_browser
- Kotlin
- Android
- futter_api
- laravel9
- WirelessDebug
- querydslKotlinError
- FlutterWirelessDebuginAOS
- retrofit_generator
- retrofit_toJson()_error
- Laravel
- flutter_android_app_links
- MultipleFirebaseEnvironments
- querydslQclass
- RunAFlutterProjectIniPhoneFromVSCode
- phplaravel
- retrofit_generator_conflicts_with_freezed
- FirebaseConfigurationForMultipleBuildTypes
- dagger-hilt
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 29 | 30 |