SAVING DATA IN SHARED PREFERENCES - Android Fundamentals

SAVING DATA IN SHARED PREFERENCES - Android Fundamentals

Philipp Lackner

4 года назад

35,406 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

HRC
HRC - 08.06.2023 16:05

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

Ответить
favushin
favushin - 01.03.2023 14:57

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

Ответить
Randy4i i
Randy4i i - 05.01.2023 11:38

I second Preston.

Ответить
Stas Leonov
Stas Leonov - 29.12.2022 19:58

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

Ответить
Sachin Timilsina
Sachin Timilsina - 23.10.2022 05:36

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?

Ответить
Aswin P Ashok
Aswin P Ashok - 12.10.2022 12:01

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

Ответить
뵴키
뵴키 - 27.08.2022 14:12

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??

Ответить
Mohamed Nashat
Mohamed Nashat - 27.06.2022 12:40

exactly your are amazing one

Ответить
SHARANPREET SINGH CHADHA
SHARANPREET SINGH CHADHA - 07.03.2022 11:34

Easy to understand and great

Ответить
Marc
Marc - 18.02.2022 01:22

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

Ответить
Harsh Pratap Singh
Harsh Pratap Singh - 19.01.2022 12:31

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

Ответить
Preston Rahim
Preston Rahim - 19.10.2021 19:28

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

Ответить
KotlinBek
KotlinBek - 18.10.2021 17:06

thanks man

Ответить
Yuta Itadori
Yuta Itadori - 05.06.2021 15:17

It's awesome already 🙂

Ответить
Yuta Itadori
Yuta Itadori - 05.06.2021 14:03

GREAT

Ответить
woonie
woonie - 22.04.2021 08:13

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

Ответить
Prithvi Ravi
Prithvi Ravi - 30.01.2021 15:09

Thanks for this tutorial! Keep it going

Ответить
Al Murtaza Azadari
Al Murtaza Azadari - 19.01.2021 17:16

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

Ответить
SilentSage
SilentSage - 14.01.2021 13:27

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

Ответить
Nkodo Justice
Nkodo Justice - 14.01.2021 10:58

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

Ответить
Manish Pingale
Manish Pingale - 12.11.2020 15:07

Great Video Loved Your Explanation
Thank You
If you remember me from Insta 🤔
I found your channel from Insta and I am glad I FOUND!!!!!

Ответить
Ajay Galagali
Ajay Galagali - 17.09.2020 12:40

Thanks a lot.

Ответить
Tochukwu Okey-Munonye
Tochukwu Okey-Munonye - 13.09.2020 12:00

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

Ответить
Kaan
Kaan - 31.08.2020 10:05

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?

Ответить
Anbuselvan Rocky
Anbuselvan Rocky - 14.07.2020 04:46

(Y) Love your way of teaching <3.

Ответить
AJINKYA KUMBHAR
AJINKYA KUMBHAR - 19.04.2020 16:38

How to save object in shared preferences ?? 😅😅

Ответить
Nhat Phan
Nhat Phan - 19.04.2020 07:20

This video is cleanly. Thanks for make this.

Ответить
Mohit Mahajan
Mohit Mahajan - 05.04.2020 03:32

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

Ответить
Mohit Mahajan
Mohit Mahajan - 05.04.2020 03:26

perfect explanation, thanks

Ответить