일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- Safe Args
- Navigation Component
- 일렉트론
- nav_graph
- ViewModel
- 테마
- 안드로이드
- Jetpack Compose
- TypeConverter
- imageview
- recyclerview
- 주석
- hilt
- asLiveData()
- kotlin
- BottomNavigationView
- 면접
- Livedata
- Android
- 스플래시
- themes.xml
- 취업
- electron
- Datastore
- fragment
- Binding Adapter
- 개발자
- Gradle
- android studio
- room
Archives
- Today
- Total
목록Livedata (2)
나만 보는 일기장

implementation "androidx.compose.runtime:runtime-livedata:$compose_version" 위 항목을 app 단위 Gradle에 추가해준 후, .observeAsState()를 통해 LiveData를 옵저빙 하면서도, 그 값은 State로써 받아와 쓸 수 있게 됩니다.
개발/Android
2022. 1. 13. 17:03