An open API service indexing awesome lists of open source software.

https://github.com/ruchabhattjoshi/todotestapp

Create a list of Todo using this API. https://jsonplaceholder.typicode.com/todos/
https://github.com/ruchabhattjoshi/todotestapp

android hilt-dependency-injection jetpack-compose kotlin kotlin-coroutines mvvm-architecture pagging retrofit room

Last synced: 4 months ago
JSON representation

Create a list of Todo using this API. https://jsonplaceholder.typicode.com/todos/

Awesome Lists containing this project

README

        

# TodoTestApp

API Url = https://jsonplaceholder.typicode.com/todos/

Create a list of Todo using the above URL.

Store all data in the local database and when data is not available in the local db then load from API.

Add todo in favorite and remove from favorites.

**Tech Stack:**

Minimum SDK level 21

Kotlin based, Coroutines

Hilt for dependency injection

Jetpack Compose

Lifecycle - dispose of observing data when lifecycle state changes

ViewModel - UI-related data holder, lifecycle aware

MVVM Architecture (View - ViewModel - Model)

Paging 3

Retrofit

Room Database

Light/Dark Theme

**ScreenShots:**

Screenshot 2021-10-09 at 21 23 06

Screenshot 2021-10-09 at 21 23 17