Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- 프로그래머스
- androidStudio
- MiTweet
- 코드포스
- Coroutine
- 코루틴
- Coroutines
- textfield
- Python
- Codeforces
- android
- Hilt
- boj
- activity
- architecture
- pandas
- Gradle
- Compose
- 쿠링
- ProGuard
- TEST
- relay
- Kotlin
- AWS
- 암호학
- livedata
- 백준
- MyVoca
- Rxjava
- GitHub
Archives
- Today
- Total
목록Inflate (1)
이동식 저장소
아이디만으로 쉽게 뷰에 접근할 수 있었던 ``Kotlin Android Extensions``는 ``RecyclerView``에서 사용할 때 매우 비효율적이며, 그 밖에도 코드 작성 시 여러 가지 문제점이 있어 최근에는 ``ViewBinding`` 사용을 권장하고 있다. 참고: Android Studio 4.1에서 제거된 Kotlin Android Extensions을 알아보자. (thdev.tech) 그런데 ``ViewBinding``을 사용하면 레이아웃이 약간 틀어지는 문제가 있다. 대표적으로 ``layout_width`` 혹은 ``layout_height``가 ``wrap_content``로 고정되는 문제. 분명히 ``match_parent``로 설정했음에도 불구하고 Layout Inspector로..
Primary/Android
2020. 12. 21. 19:18