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 :-)
Try to run the app in real device, there are some changes that emulator may have some bugs, if still the problem is occurring then please check the code once again also you can access the GitHub code for reference.
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...
There are options on internet to achieve array in shared preferences but they are complicated, if you ask me then I would prefer you to convert the array to string and save it and then retrieve the string and convert it back to array. Thank you and ask me if you got any problem
You don't need to restart textfield, jetpack compose will automatically recompose the composable fields like textfield when ever there is change in the text field. If you are using Preference Data Store then the value will be stored and you can access the value even you restart the app. I hope it may help you and if have some problem about it the feel free to ask 😊
I want on restart the value at textfield is still savedData. For example, the "Remember me" section at the application's login screen Can you do example about check box "remember account" in login screen ???
@@thuongpham6605 it is simple you can create a check box remember me and if it is clicked then save the text field in Preference Data Store and if the remember me check box is not clicked then simply do not save the value in Preference Data Store. I hope it will help you 😊
I know and I am sorry for that. The Tutorial was made for just to demonstrate the working of Preferences Datastore in Jetpack Compose. And at that time I use to upload videos without audio explantation so so sorry for the inconvenience. To understand the topic better here is a article by Mansi Shah on Medium: medium.com/jetpack-composers/android-jetpack-datastore-5dfdfea4a3ea Thank You 🤗
The music is so good, I don't know whether to code along or to dance along.
Bro u r a god! Please continue making these stuff
Thank you so much 🤗 more videos are coming soon.
thank you. Phil Lackner's guide (while understandable) was too outdated and the official android codelab one was wayy too complicated.
Gald to help you 🤗
Great and nice example, thanks a lot !
Thank you so much 🤗
Thank you, great video
Brief and to the point explanation. Thank you
Thank You so much, Glad you liked it.
The ONLY correct and complete tutorial for this on the internet.
Thank you so much 🥰 I am happy to help you
Great tutorial. Thanks a lot.
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 :-)
Thank you so much 🥰. I am planning to make some projects with my voice and you will see some fresh content on jetpack compose very soon.
@@DeveloperChunk Thats great to hear. I will look out for it
Thanks Dudeeeee !!!!!
Welcome bro 🤗
Thanks for this, it was very useful
Glad to help you 🤗
Thank you very much
Glad to hear 🤗
Bruhhh
The data is not staying when I remove the app from memory.
Again starting from empty string/0.
How do I fix this.
Try to run the app in real device, there are some changes that emulator may have some bugs, if still the problem is occurring then please check the code once again also you can access the GitHub code for reference.
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...
You can create a Variable in ViewModel which is not a mutable state and save the recived savedEmail in that variable. Now you can use that variable.
@@DeveloperChunk will try, thanks!
nice and easy to follow, Thanks!!
Glad it was helpful!
How can i save an array using dataStore?
There are options on internet to achieve array in shared preferences but they are complicated, if you ask me then I would prefer you to convert the array to string and save it and then retrieve the string and convert it back to array. Thank you and ask me if you got any problem
how to restart textfield still get the value savedEmail ???
You don't need to restart textfield, jetpack compose will automatically recompose the composable fields like textfield when ever there is change in the text field. If you are using Preference Data Store then the value will be stored and you can access the value even you restart the app. I hope it may help you and if have some problem about it the feel free to ask 😊
I want on restart the value at textfield is still savedData.
For example, the "Remember me" section at the application's login screen
Can you do example about check box "remember account" in login screen ???
@@thuongpham6605 it is simple you can create a check box remember me and if it is clicked then save the text field in Preference Data Store and if the remember me check box is not clicked then simply do not save the value in Preference Data Store. I hope it will help you 😊
GREAT..!!!
Thank you so much 🥰 I am glad it helped you
Muestra como hacer anuncios en Jetpack Compose
muchas gracias por tu sugerencia Intentaré hacer un video usando Google ADMob
Thank you 💌
You are so welcome
you are just write how we can understand
I know and I am sorry for that. The Tutorial was made for just to demonstrate the working of Preferences Datastore in Jetpack Compose. And at that time I use to upload videos without audio explantation so so sorry for the inconvenience. To understand the topic better here is a article by Mansi Shah on Medium: medium.com/jetpack-composers/android-jetpack-datastore-5dfdfea4a3ea
Thank You 🤗