This app save data of Pets Like Name,age,Breed,Gender. It is Made using Android architecture components. Repository pattern used. Thread Pool used.This app is part of Udacity android data storage.This app also show's that how to get or query data from only two columns in the table and Display in ListView in Room persistence library or Room Database.
Here we are using LiveData instead of Loader. We can use LiveData instead of Loader. You can Check this documentation for Loader and LiveData Click here.
- Can we use LiveData instead of Loader?
Ans:- Yes we can use LiveData instead of Loader.
- Database Operations use:-
- Insert.
- Update.
- Delete.
- Android architecture components:-
- LiveData.
- ViewModel.
- Room Persistence Library.
It also show's you that how to display alertdialog if the user have Click on the EditText View.