본문 바로가기

728x90
반응형

전체 글

8/29 read post 1. 출처 : https://proandroiddev.com/misconception-about-kotlin-jvmoverloads-for-android-view-creation-cb88f432e1fe 제목 : Misconception about Kotlin @JvmOverloads for Android View Creation 요약 : android custom view 생성시 ‘@JvmOverloads’ 를 사용하는데, 이 때 context 와 AttributeSet 만 있는 기본 생성자만 제공하면 되고 defStyleAttr 및 기본값을 제공할 필요가 없다고 설명합니다. 그 이유를 그림으로 설명합니다. 2. 출처 : 코틀린 플로우 내부 살펴보기 2 제목 : 코틀린 플로우 내부 살펴보기 2 요약 : .. 더보기
8/28 read post 1. 출처 : Slice | Android 개발자 | Android Developers 제목 : Slice 요약 : Slice 에 대한 개발 문서입니다. Slice는 Google 검색 앱 내 및 Google 어시스턴트와 같은 다른 요소에 앱의 서식 있는 동적 양방향 콘텐츠를 표시할 수 있는 UI 템플릿입니다. 몇가지 빌더를 통해서 몇가지 정해진 템플릿을 제공합니다. 2. 출처 : https://engineering.matchesfashion.com/share-your-gradle-configuration-with-the-gradle-kotlin-dsl-a-guide-for-android-projects-3ce6dc34ea75 제목 : Share your Gradle configuration with th.. 더보기
8/27 read post 1. 출처 : Kotlin Flow: Best Practice 제목 : Kotlin Flow: Best Practices 요약 : 코틀린 플로우의 모범사례 및 권장사항을 설명합니다. 코틀린 플로우가 없을 때는 플로우를 사용하지 말라고 하며, catch 연산자의 사용을 권장합니다. 또한 launch 보다 launchIn 을 사용하며, flowOn 에 Dispatcher 를 주입하라고 권장합니다. StateFlow 의 값을 외부에 노출시키지 말도록 권장합니다. 2. 출처 : A Discussion On How Kotlin Extension Functions Can Be Used 제목 : A Discussion On How Kotlin Extension Functions Can Be Used 요약 : 확장 함.. 더보기
8/26 read post 1. 출처 : When using enums and R8… 제목 : When using enums and R8… 요약 : R8 의 최적화 하는 예를 enum 과 when 을 같이 사용하는 경우의 예를 들어 설명합니다. enum 과 when 을 사용할 때 자동적으로 배열이 생성되는데 이것 때문에 성능저하가 일어날 수 있고 이것을 R8은 최적화를 해서 ordinal 로 변경시켜주기 때문에 최적화가 수행된다고 설명합니다. 2. 출처 : Using Version Catalog on Android projects 제목 : Using Version Catalog on Android projects 요약 : Gradle 버전 7.0 에서 소개된 Version Catalog 에 대해서 설명합니다. version cat.. 더보기
8/25 read post 1. 출처 : https://medium.com/better-programming/how-to-avoid-use-cases-boilerplate-in-android-d0c9aa27ef27 제목 : How To Avoid Use Cases Boilerplate in Android 요약 : usecase 를 사용하는 네가지 방식에 대해서 설명합니다. usecase 자체를 없앴을 때의 장단점, usecase 를 유지했을 때의 장단점, typealias 를 썼을때의 장단점, 그리고 마지막으로 fun interface 를 썼을 때의 장단점을 설명합니다. 2. 출처 : https://medium.com/@pankaj-rai/reactive-stream-with-flow-android-f936bfdea66d 제목 :.. 더보기
8/24 read post 1. 출처 : It’s 2022. Are you Still Using Date? 제목 : It’s 2022. Are you Still Using Date? 요약 : localData, LocalDatTime 및 Instant 에 대해서 설명합니다. date 의 멀티 스레드 환경의 concurrent 이슈 및 불편한 시간대 처리의 단점을 예로 들고 localDateTime, Instant 의 사용예를 코드로 설명합니다. 2. 출처 : 5 Best Practices to Follow to Improve your Unit Testing 제목 : 5 Best Practices to Follow to Improve your Unit Testing 요약 : 단위 테스트 개선을 위한 5가지 방법을 설명합니다. 읽기 .. 더보기
8/23 read post 1. 출처 : https://medium.com/proandroiddev/android-custom-view-level-1-67ed1c3febe1 , https://proandroiddev.com/android-custom-views-level-2-7a0f110a2ce9, https://proandroiddev.com/android-custom-view-level-3-81e767c8cc75 제목 : Android Custom View Level 1 Basic Terms and Creation of Custom View, Android Custom Views Level 2 AttributeSet, Android Custom View Level 3 View Life-Cycle 요약 : custom view .. 더보기
8/22 read post 1. 출처 : Android 13 Photo Picker With The Activity Result API 제목 : Android 13 Photo Picker With The Activity Result API 요약 : android 13 에 도입된 photo picker 에 대해서 어떻게 사용하는지 예제와 함께 설명합니다. 설정하는 법과 result contract 를 custom 하게 구현하거나 기존에 정의된 result contract 를 이용하는 법에 대해서 설명합니다. 2. 출처 : https://medium.com/proandroiddev/how-dagger-hilt-and-koin-differ-under-the-hood-c3be1a2959d7 제목 : How Dagger, Hilt and .. 더보기

728x90
반응형