Android

【Kotlin】How to use SharedPreferences

 


 

Video

【Kotlin】How to use SharedPreferences

 
 

Environment

Android Studio : 3.2.1
Android Emulator : Nexus5 (API 27)
 
 

Sample Code

activity_main.xml

 

MainActivity.kt

 
 

ABOUT ME
Sara
Sara
Working as a freelance programmer in Japan. I try to make coding as simple as possible. Hope you enjoy coding🙂