kmp-viewmodel

(โ˜… 173)

๐Ÿ”† Kotlin Multiplatform ViewModel. Kotlin Multiplatform MVVM. Common/Shared ViewModel in Kotlin Multiplatform - A Kotlin Multiplatform library that provides shared MVVM for UI applications. Components are lifecycle-aware on Android. Supports Android Parcelable, Kotlin Parcelize, AndroidX SavedStateHandle for restoring state after process death.

  • .editorconfig
  • .gitignore
  • build.gradle.kts
  • CHANGELOG.md
  • detekt.yml
  • gradle.properties
  • gradlew
  • gradlew.bat
  • LICENSE
  • logo.png
  • mkdocs.yml
  • README.md
  • RELEASING.md
  • renovate.json5
  • settings.gradle.kts

# Installation Guide

1. Get the code
git clone https://github.com/hoc081098/kmp-viewmodel

Downloads the entire project code from GitHub to your computer.

cd kmp-viewmodel

Moves into the project folder you just downloaded.

2. Gradle (Java/Kotlin)

Medium Recommended
Prerequisites
  • 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.
./gradlew build

Builds the project using Gradle.

โœ… A BUILD SUCCESSFUL message means it worked. The output is created under build/.
// repository documentation