
주안점 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..

완성화면: Выводы : Даром не пройдет 😂😂😂 Debugging 1. viewBinding으로 activity_main의 include(layout_button_search)의 각 컴포넌트 요소의 id 찾기 -> binding.frameSearchBtn(include에도 id 기재).frameSearchBtn(layout_button_search의 id).btnProgress(컴포넌트) 2. Handler().postDelayed is deprecated -> Handler(Looper.getMainLooper()) 3. ProgressBar 미표시 -> ProgressBar의 android:translationZ="xdp" 주안점 1. eventListener의 interface 직접..

Ref: https://www.youtube.com/channel/UCutO2H_AVmWHbzvE92rpxjA (개발하는 정대리님) Singleton - a creational design pattern that lets you ensure that a class has only one instance, while providing a global access point to this instance. - kotlin에서는 한 메모리를 사용하는 것으로 이해 + class가 아닌 object로 선언

참조: https://www.youtube.com/watch?v=HjXJh_vHXFs Spring으로 쇼핑몰 구현했을 때도 느꼈지만 파일 업로드/저장은 언어, 프레임 무관하게 어렵다. 게다가 안드로이드는 보안이나 기타 설정 등으로 그 난이도가 제곱은 되는 듯하다. 이것저것 다 시도하다가 가장 디버깅 요소가 적었던 cameraX를 여기에 적어보며 솔직히 아직도 알고리즘이 아니라 프로세스에 대한 이해만 있는 만큼 재차 복습할 것 😬 ❓ emulator의 자체 카메라 사용이 아닌 실제 웹캠 사용을 원할 경우 AVD 설정 바꿔줄 것 AVD MANAGER -> 시뮬할 모델 Edit -> Show advanced settings -> Camera (Front: Webcam, Back: Webcam) 1. 환경 설정..

Ref : https://www.youtube.com/watch?v=uRyvNKRkwbs&t=22211s 주안점 1. CLR -> String("") 2. Operators -> value.contains 3. Split을 통해 앞뒤 숫자 나누기 4. 정수일 경우 소수점처리 없애기 -> substring을 통해 판단 후 각 결과값에 fun 입히기 5. lastNum, lastDot flag 이용 더보기 class MainActivity : AppCompatActivity() { private lateinit var binding: ActivityMainBinding var lastNum : Boolean = false var lastDot : Boolean = false override fun onCre..

Ref : https://www.youtube.com/watch?v=uRyvNKRkwbs&t=22211s 주안점 1. Calendar 사용법 2. clickDatePicker의 매개변수로 view 설정 3. dateSetListener의 날짜들 != 이전 선언한 날짜 변수들 4. simpleDateFormat binding.btnDatePicker.setOnClickListener{view -> clickDatePicker(view) } } fun clickDatePicker(view: View){ val myCalendar = Calendar.getInstance() val year = myCalendar.get(Calendar.YEAR) val month = myCalendar.get(Calendar..

Безумно меня балует Котлин! Никак не кайфовать от упрощенной грамматики головокружительной java... 😵 ArrayList : variable size/ non-synchronized/ follows the sequence of insertion order/ readible and writable/ duplicable elements Function Description open fun add(element: E): Boolean to add the specific element open fun clear() to remove all elements open fun get(index: Int): E to return the ele..

Class, Object, Initializer Shadowing it is useful for decoupling the code from other parts of the system(names are bound to the current scope). Get / Set Data Class Inheritance Interface (abstract variable/method + it could inherit from another interface) Abstract class - non-instanitiated - subclasses could inherit from it - the members are NON-abstract unless the keyword is declared 🧡💜 Abstrac..

- Адский уровень утсановления всяких мелочей в Андройд-студии, но не буду сдаваться НИКОГДА var / val Оба используются для объявления переменной. var похожа на общую переменную и ее известную как изменчивую переменную в kotlin и может быть назначена несколько раз. val похож на постоянную переменную и известен как неизменяемый в kotlin и может быть инициализирован только один раз. Data types Arit..

компилируется в байткод JVM или в JavaScript; программы могут использовать все существующие Java-фреймворки и библиотеки. Kotlin можно интегрировать с Maven, Gradle и другими системами сборки; язык очень прост для изучения; исходный код открыт; в IntelliJ доступна автоматическая конвертация Java-кода в Kotlin и наоборот; язык null-безопасен — надоедливые NullPointerException остались в Java. Вот..
- Total
- Today
- Yesterday
- KotlinFlow
- android_app_link_domain_works_with_adb_but_not_works_with_browser
- MultipleFirebaseEnvironments
- laravel9
- querydsl5.0.0jakarta
- querydslQclass
- querydslKotlinError
- Kotlin
- AndroidWirelessDebug
- phplaravel
- FlutterWirelessDebuginAOS
- mvvm
- Laravel
- android_app_links_domain
- unsplashAPI
- retrofit_generator
- retrofit_toJson()_error
- flutter
- flutter_secure_storage_issue_iOS
- FirebaseConfigurationForMultipleBuildTypes
- android_app_links
- Android
- futter_api
- retrofit_generator_conflicts_with_freezed
- flutter_android_app_links
- flutter_storage_not_working_for_the_first_time
- RunAFlutterProjectIniPhoneFromVSCode
- WirelessDebug
- dagger-hilt
- android_domain
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |