android-kotlin-datastore-sharedpreferences
Demo app illustrating SharedPreferences usage for local data storage in Android. Easily understand data transfer between activities. See also: android-kotlin-intents.
File Explorer
Download Latest Version (.zip)- .gitignore
- .name
- compiler.xml
- gradle.xml
- kotlinc.xml
- misc.xml
- vcs.xml
- ExampleInstrumentedTest.kt
- Constants.kt
- SharedPref.kt
- MainActivity.kt
- SettingsActivity.kt
- ic_launcher_background.xml
- ic_launcher_foreground.xml
- activity_main.xml
- activity_settings.xml
- ic_launcher.xml
- ic_launcher_round.xml
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- ic_launcher.webp
- ic_launcher_round.webp
- colors.xml
- strings.xml
- themes.xml
- themes.xml
- backup_rules.xml
- data_extraction_rules.xml
- AndroidManifest.xml
- ExampleUnitTest.kt
- .gitignore
- build.gradle
- proguard-rules.pro
- gradle-wrapper.jar
- gradle-wrapper.properties
- .gitignore
- build.gradle
- gradle.properties
- gradlew
- gradlew.bat
- README.md
- settings.gradle
# Installation Guide
1. Get the code
git clone https://github.com/dalemoncayo/android-kotlin-datastore-sharedpreferences
Downloads the entire project code from GitHub to your computer.
cd android-kotlin-datastore-sharedpreferences
Moves into the project folder you just downloaded.
2. Gradle (Java/Kotlin)
Medium RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- JDK (Java) Required to build and run Java/Kotlin projects.
- Gradle If the repo includes gradlew (Gradle Wrapper), you don't need to install Gradle separately.
cd app
This project's files live in a subfolder, so move into it first.
./gradlew build
Builds the project using Gradle.
A BUILD SUCCESSFUL message means it worked. The output is created under build/.
// repository documentation
Was this content helpful?
(0 ratings)
