Android studio version - 2020.3.1
Components Used:-
-
Room Database
-
Dagger hilt
-
MVVM Architecture
-
Data Binding
-
Retrofit
-
Coroutines
-
View Binding
Summary:
If the app is installed for the first time:- Api will hit and fetch Data from server & Save it to room database
If App is launched :- It will check if there is any data saved in database if yes it will show else it will call Api
Swipe to delete functionality :- It will delete data locally and observer will be called to check if there is any data left if not API will be called to fetch data again
Video Demo Link: