Skip to content

Contact manager app to add , modify and delete contacts.

Notifications You must be signed in to change notification settings

Sachdevabhavya/ContactManagerApp

Repository files navigation

Contact Manager App

It is an andorid application built in kotlin for the users to store contacts , consisting of fields like name , email id and Phone Number. It stores the contacts on the ui itself and the user can create a new contact , modify an existing contact and delete a contact. It uses recycler view tp create a list view of contacts stored in the UI itself , using ROOM database.

Technology used

  • Android Studio
  • Kotlin
  • ROOM database

Install the Project

git clone https://github.com/Sachdevabhavya/ContactManagerApp.git

dependencies required

Add the following dependencies to run the app in the following file given :

  • build.gradle.kts(module)
    implementation("androidx.room:room-runtime:2.6.1")
    implementation("androidx.room:room-ktx:2.6.1")
    kapt("androidx.room:room-compiler:2.6.1")
    implementation("org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.1")
    val lifecycle_version = "2.6.2"
    //View Model
    implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version")

    //Live Data
    implementation("androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version")

Update SDK in Build.gradle

compile Sdk = 34
target Sdk = 34

plugins required

Add the following plugins to run the app in their respective file given :

  • build.gradle.kts(module)
id("kotlin-kapt")
  • build.gradle.kts(project)
kotlin("kapt") version "1.9.22"

Set dataBindable

In Build.gradle file add the following code in android :

buildFeatures{
    dataBinding = true
}

Features

  1. User can add their contacts :

  2. User can update the existing contact :

  3. User can delete any contact :

  4. The contacts will remain stored even if the app is stopped , because the data is stored using a ROOM database

Android Verion

This app is made for android 7 and above versions

Recent Updates

  • Phone Number field is also added

Releases

No releases published

Packages

No packages published

Languages