Preferences DataStore in Jetpack Compose | Android | Forget about SharedPreferences

preview_player
Показать описание

In this video, you will learn to read, save, and update data in the Preferences Datastore in Jetpack Compose.

Shared Preferences are now depreciated in Jetpack Compose so instead of it, we have Preferences Datastore.

---------------------------------------------------------------------------------------------------
Music: Roa - Focus
---------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------
Music: Roa - Freedom
---------------------------------------------------------------------------------------------------

---------------------------------------------------------------------------------------------------
Music: Roa - Feel Alive
---------------------------------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

thank you. Phil Lackner's guide (while understandable) was too outdated and the official android codelab one was wayy too complicated.

scanskynero
Автор

The music is so good, I don't know whether to code along or to dance along.

codegiz
Автор

Bro u r a god! Please continue making these stuff

debasishghoshsays
Автор

Brief and to the point explanation. Thank you

sieleemmanuel
Автор

Great and nice example, thanks a lot !

khaxbiker
Автор

The ONLY correct and complete tutorial for this on the internet.

EricLouisYoung
Автор

This is very good. Easy to understand. I hope you make more easy to understand examples with jetpack compose. Maybe also a bigger project where you talk with voice :-)

klondikexx
Автор

Bruhhh
The data is not staying when I remove the app from memory.
Again starting from empty string/0.

How do I fix this.

tora
Автор

how to not get the savedEmail as an state object, because I try to login automatically by saved credentials but for some reason the method gets called multiple times which results in that the next screen will open multiple time...

PlayGamsChannel
Автор

How can i save an array using dataStore?

josephescobar
Автор

Muestra como hacer anuncios en Jetpack Compose

mr.preston
Автор

how to restart textfield still get the value savedEmail ???

thuongpham
Автор

you are just write how we can understand

mohamed-tyb