Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Android Task Manager with JetPack Compose , MVVM architecture , Hilt for Dependency injection and Room Local Database

Notifications You must be signed in to change notification settings

Ahtat204/TaskManager

Repository files navigation

Status

Data Flow:

  1. UI Layer (Compose screens: Home, Calendar, Dashboard, CreateTask)

    • Displays tasks and handles user interactions.
    • Communicates with the ViewModel.
  2. ViewModel (TaskViewModel)

    • Holds LiveData for tasks.
    • Calls Repository methods to perform database operations.
    • Ensures operations run on background threads with viewModelScope.
  3. Repository (TaskService)

    • Abstracts data access.
    • Provides CRUD operations and search functionality.
    • Communicates with DAO.
  4. DAO (DAO)

    • Defines SQL queries and database operations.
    • Returns Flow<List<Task>> for reactive updates.
  5. Database (TaskDataBase)

    • Room database that stores Task entities.
    • Provides DAO instance.
  6. Dependency Injection

    • Hilt modules (TaskDatabaseModule) provide singleton instances of Database and DAO.
    • @HiltAndroidApp annotated App class enables DI throughout the app.

<img src

About

Android Task Manager with JetPack Compose , MVVM architecture , Hilt for Dependency injection and Room Local Database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages