Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- ScrollView
- activity
- DART
- intent
- 앱바
- data
- 안드로이드
- viewmodel
- CustomScrollView
- drift
- TEST
- LifeCycle
- 앱
- textfield
- 계측
- appbar
- Navigation
- Coroutines
- Flutter
- Button
- Kotlin
- Compose
- 테스트
- Dialog
- binding
- livedata
- tabbar
- android
- textview
- scroll
Archives
- Today
- Total
목록저장소 (1)
Study Record
[안드로이드] DataSotre (SharedPreferences 대체)
😶 DataStore 개요 DataStore 는 SharedPreferences 를 대체하는 것을 목표로 한 향상된 데이터 저장 솔루션으로 나온 Android Jetpack 라이브러리이다. Coroutines 과 Flow 를 사용하여 데이터를 비동기적으로 일관성있게 읽고 저장한다. DataStore 는 Preferences DataStore 와 Proto DataStore 으로 나뉜다. Preferences DataStore 는 key 를 이용하여 데이터에 접근하고 저장한다. 타입 안전성을 보장하지 않는다. Proto DataStore 는 커스텀한 데이터 타입을 가진 객체로 데이터를 저장한다. Protocol buffers 를 사용하며, 스키마를 정의해야하지만 타입 안전성을 보장한다. dependency..
안드로이드
2023. 8. 21. 22:42