Preferences DataStore - Forget about SharedPreferences | Android Studio Tutorial
Welcome, Jetpack DataStore, now in alpha - a new and improved data storage solution aimed at replacing SharedPreferences. Built on Kotlin coroutines and Flow, DataStore provides two different implementations: Proto DataStore, that lets you store typed objects (backed by protocol buffers) and Preferences DataStore, that stores key-value pairs. Data is stored asynchronously, consistently, and transactionally, overcoming most of the drawbacks of SharedPreferences.
In this video we are going to focus on "Preferences DataStore" and in some of the next videos we are going to cover Proto DataStore as well. Enjoy!
Source code: https://gist.github.com/stevdza-san/fa01bb5159cdb50142d48bed8df7ed58
Timestamps:
0:00 - Introduction
1:44 - Create Repository
6:16 - Create ViewModel
7:43 - Handle DataStore in Activity
🏆 My Courses:
(GET 2 MONTHS MEMBERSHIP FOR FREE)
https://www.skillshare.com/r/user/stevdza-san
OR
https://www.udemy.com/user/432ccf97-0b71-49ed-bb6f-2fe606116148/
Видео Preferences DataStore - Forget about SharedPreferences | Android Studio Tutorial канала Stevdza-San
In this video we are going to focus on "Preferences DataStore" and in some of the next videos we are going to cover Proto DataStore as well. Enjoy!
Source code: https://gist.github.com/stevdza-san/fa01bb5159cdb50142d48bed8df7ed58
Timestamps:
0:00 - Introduction
1:44 - Create Repository
6:16 - Create ViewModel
7:43 - Handle DataStore in Activity
🏆 My Courses:
(GET 2 MONTHS MEMBERSHIP FOR FREE)
https://www.skillshare.com/r/user/stevdza-san
OR
https://www.udemy.com/user/432ccf97-0b71-49ed-bb6f-2fe606116148/
Видео Preferences DataStore - Forget about SharedPreferences | Android Studio Tutorial канала Stevdza-San
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
Proto DataStore - Persist Typed Objects with Protocol Buffers | Android Studio TutorialJetpack Compose Navigation Explained in 20.22 minutesPreferences DataStore in 10min (SharedPreferences deprecated)SharedPreferences - How to Save & Retrieve Data Android Studio | Beginner's Guide#12. Create, Login & Logout User - Ktor Note AppSAVING DATA IN SHARED PREFERENCES - Android FundamentalsLazyColumn - Forget about RecyclerView Adapter - Jetpack ComposeViewPager2 with Navigation Component - Onboarding Screens | Android Studio TutorialPreferences Datastore in Android | Android | Android Fundamentals | Vision Android |Exposed Drop-Down Menu - Forget about Spinner | Android Studio Tutorial#8 Android Login/Signup with MVVM - Jetpack DataStorePreferences DataStore Tutorial (Android Jetpack DataStore)View Binding in AndroidBottom Navigation with Jetpack ComposeTOOLBAR MENUS - Android FundamentalsInternal Storage Read Write File in AndroidFlorina Muntenescu, Android Developer Advocate, Google: Sharing my preference for DataStoreData Binding - Introduction - How to use & enable data binding in an Android applicationNOTIFICATIONS - Android FundamentalsMultiple Item Selection in RecyclerView - Android RecyclerView Tutorial