Skip to content

Todo app based on MVVM, Kotlin Coroutines, Navigation Component, Room Database, Retrofit, Data Binding

Notifications You must be signed in to change notification settings

samucati/EasyTask_MVVM_Kotlin

 
 

Repository files navigation

Easy Task

Easy Task Management Android App with online data syncing.

----------Sign Up--------------------Login----------------------Update Profile--------

----------Add Task--------------------Update Task----------------Delete Task--------

-------------------------------------------Dark Mode---------------------------------------

Architecture Used

https://developer.android.com/jetpack/docs/guide

Features

  • Add - Update - Delete Task
  • 3 Status for Tasks - 1. Pending 2. Started 3. Completed
  • Update Profile Info and Profile Picture
  • Offline Data Caching for Tasks.
  • Online Data Syncing for all data.

Built With

  • Android Studio 3.6.3. The latest version can be downloaded from here
  • Build gradle 3.6.3
  • Android SDK 29
  • Kotlin Version 1.3.71

Backend

Install the apk

Get it on Google Play

Go to the following link to download the app.

Directory Structure

The following is a high level overview of relevant files and folders.

└───Easy Task
    └───app
        └───src
            └───main
                └───java
                    └───com
                        └───shajt3ch
                            └───easytask
                                ├───model
                                │   ├───local
                                │   │   │   AppPreferences.kt
                                │   │   │
                                │   │   ├───dao
                                │   │   │       TaskDao.kt
                                │   │   │
                                │   │   ├───db
                                │   │   │       AppDatabase.kt
                                │   │   │
                                │   │   └───entity
                                │   │           TaskEntity.kt
                                │   │
                                │   ├───remote
                                │   │   │   EndPoints.kt
                                │   │   │   Networking.kt
                                │   │   │   NetworkService.kt
                                │   │   │
                                │   │   ├───request
                                │   │   │   ├───auth
                                │   │   │   │       LoginRequest.kt
                                │   │   │   │       RegisterRequest.kt
                                │   │   │   │
                                │   │   │   └───task
                                │   │   │           AddTaskRequest.kt
                                │   │   │           DeleteTaskRequest.kt
                                │   │   │           EditTaskRequest.kt
                                │   │   │
                                │   │   └───response
                                │   │       ├───auth
                                │   │       │       LoginResponse.kt
                                │   │       │       RegisterResponse.kt
                                │   │       │       ValidateResponse.kt
                                │   │       │
                                │   │       ├───profile
                                │   │       │       EditProfileResponse.kt
                                │   │       │       UserProfileResponse.kt
                                │   │       │
                                │   │       └───task
                                │   │               AddTaskResponse.kt
                                │   │               EditTaskResponse.kt
                                │   │               TaskResponse.kt
                                │   │
                                │   └───repository
                                │           AddTaskRepository.kt
                                │           DeleteTaskRepository.kt
                                │           EditTaskRepository.kt
                                │           LoginRepository.kt
                                │           RegisterRepository.kt
                                │           TaskRepository.kt
                                │           UserProfileRepository.kt
                                │           ValidateTokenRepository.kt
                                │
                                ├───util
                                │   │   GeneralHelper.kt
                                │   │   Validator.kt
                                │   │
                                │   └───network
                                │           NetworkError.kt
                                │           NetworkHelper.kt
                                │
                                ├───view
                                │   ├───adaptor
                                │   │       TaskAdapter.kt
                                │   │       TaskCallBack.kt
                                │   │
                                │   └───ui
                                │       ├───auth
                                │       │       LoginActivity.kt
                                │       │       SignUpActivity.kt
                                │       │
                                │       ├───home
                                │       │       HomeFragment.kt
                                │       │
                                │       ├───main
                                │       │       MainActivity.kt
                                │       │
                                │       ├───profile
                                │       │   │   ProfileFragment.kt
                                │       │   │
                                │       │   └───edit
                                │       │           EditProfileFragment.kt
                                │       │
                                │       ├───splash
                                │       │       SplashActivity.kt
                                │       │
                                │       └───task
                                │           │   TaskFragment.kt
                                │           │
                                │           ├───detail
                                │           │       TaskDetailFragment.kt
                                │           │
                                │           └───edit
                                │                   EditTaskFragment.kt
                                │
                                └───viewmodel
                                    ├───auth
                                    │       LoginViewModel.kt
                                    │       SignUpViewModel.kt
                                    │
                                    ├───edit
                                    │       EditProfileViewModel.kt
                                    │
                                    ├───home
                                    │       HomeViewModel.kt
                                    │
                                    ├───profile
                                    │       ProfileViewModel.kt
                                    │
                                    ├───splash
                                    │       SplashViewModel.kt
                                    │
                                    └───task
                                            EditTaskViewModel.kt
                                            TaskDetailViewModel.kt
                                            TaskViewModel.kt

Libraries Used

License

MIT License

Copyright (c) 2020 Easy Task

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

Todo app based on MVVM, Kotlin Coroutines, Navigation Component, Room Database, Retrofit, Data Binding

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%