How to use sharedpreference to store the data in android || Android studio tutorial

Veröffentlicht am: 06 Oktober 2020
auf dem Kanal: Technical Coding
770
23

In This Video I explain how to use sharedpreferences to store a data or a variable in Android.

when you store a data in a variable and leaves the activity the data gets destroyed when the activity destroyed, that's why I can I use sharedpreferences to store the data even after the app is closed.

let's take a switch element for an example when you turn on the switch and close your app then if you go to your application again you will see that your switch is turned off and that's we are gonna fixed in this video.

using sharedpreferences you can store a small amount of data like a variable for an example in Android and then later on you can also retrieve that data and that's why I can I do in this video so watch this video till the end.


Example code: it will avaiable in short time

Thank you guys for watching and don,t forget to subscribe
   / technicalcoding  

Support us through patreon:-
https://www.patreaon.com/technicalcoding

check out my website:-
https://technical-coding.blogspot.com


Follow us on Facebook page:-
  / techno-coding-488399231922328  

Follow me on Intagram:-
  / pritish174  


#sharedpreference #Androiddevelopment #AndroidDev #androidstudio


Auf dieser Seite können Sie das Online-Video How to use sharedpreference to store the data in android || Android studio tutorial mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Technical Coding 06 Oktober 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 770 Mal angesehen und es wurde von 23 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!