SAVING DATA IN SHARED PREFERENCES - Android Fundamentals

preview_player
Показать описание
In this video you will learn how to save and load data with shared preferences.

⭐ Get certificates for your future job
⭐ Save countless hours of time
⭐ 100% money back guarantee for 30 days
⭐ Become a professional Android developer now:

🎓 Become an industry-ready developer in the Mobile Dev Campus:

🎁 Get my FREE 4.5h course "The Best Practice Guide to Android Architecture":

Read our weekly Android blog:

Рекомендации по теме
Комментарии
Автор

Thank god, finally someone who talks through the meaning and purpose of each line and argument. Excellent work, you're helping me pass senior design

PrestonRahim
Автор

Philipp, you are best.I really envy your ability to explain complex things easily.

stasleonov
Автор

After watching so much tutorials i finally undestand thanks bro keep making such a helpful content

harshpratapsingh
Автор

This video is cleanly. Thanks for make this.

nhatphan
Автор

Great tutorial man, thanks for this. Easy and straight to the point

silentsage
Автор

Thanks for this tutorial! Keep it going

prithviravi
Автор

Nice explanation! And if I'm not wrong, this can be used to save draft too

marc
Автор

many thanks for your efforts. Will you make a demo for database read/write ? (like you mensioned at the end of this video (10:50)?

guy
Автор

i wanna a tut about using shared preferences for to-do list that you made

favuraki
Автор

Cool video, thanks mate. I have a question. I want to store arraylist of a user. I used gson but I didn't print. How can I do?

KaanFrat
Автор

Thank You for the great lesson🤗🤗
But I have One questin which is that sharedPreference is not able to be used in fragment ..
is there any solution for this??

Qyotecc
Автор

Lovely tutorial. I just wonder if there is a way to start the app with the data loaded without pressing load! Just loaded by default. Anyone could help me with this? I have load clear and save and would like my app to have it loaded by default but I cannnot seem to make it

woonie
Автор

Hey there what if I want to load the shared preferences without the load button and anything and directly load the values in screen?Right after starting?
What do i do then?

TheImaginativeSachin
Автор

Is reading/writing shared pref ok on main thread? Should we care about that?

aswinpashok
Автор

How about saving my wallpaper image as bitmap in shared storage?

likatest
Автор

On NULL values with those '?' and all. as I migrated from JAVA to Kotlin just because I was fed up solving these null pointer exceptions please share your knowledge regarding null values, pointers how to prevent app crash because of that for Kotlin

mohitmahajan
Автор

Shared pref is used to save small king of user change setting in your app like : changing the theme to (dark) default is (white) like this am correct

hrc
Автор

Pls how to open permission for data collector of code in user's consent on Android studio

iamfunny
Автор

Can someone use shared preference to pass information between fragments like intents.

tochukwuokey-munonye
Автор

Why there is warning for this
SharedPreferences.edit() without a corresponding commit() or apply() call
??? Please tell...

NabeelHaider