This Kotlin program implements a basic user profile registration system for the National Skills Development Authority (NSDA) project using the Model-View-ViewModel (MVVM) architecture. It prompts users to input their username, email, date of birth, phone number, and home district. Subsequently, it displays the entered details back to the user. This project serves as a straightforward demonstration of user registration implementation in Kotlin following the MVVM design pattern.
- Room Database
- Follow Model View ViewModel (MVVM) Structure
- Add User with Details
- Update and Delete also
- Custom RecyclerView
- Android Studio (Jellyfish)
- Programming
- Kotlin (OOP)
- Android SDK 17-28
List the Kotlin dependencies used in your project. Include the name of the dependency and its version.
CircleImageView
de.hdodenhof:circleimageview:3.1.0
dependencies {
// Room Database
implementation "androidx.room:room-runtime:2.6.1"
implementation "androidx.room:room-ktx:2.6.1"
ksp "androidx.room:room-compiler:2.6.1"
// ViewModel and LiveData
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0"
implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.7.0"
}
This code replace in plugins code:
plugins {
id("com.google.devtools.ksp")
}
This "com.google.devtools.ksp" code add in build.gradle.kts(Project) file:
id("com.google.devtools.ksp") version "1.9.20-1.0.14" apply false