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

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