Skip to content

Udacity android data storage Pets app made using Android Architecture Components.

Notifications You must be signed in to change notification settings

krunalpatel3/Pets-App-Database-AAC

Repository files navigation

Pets App (Android architecture components or Android Jetpack)

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.

Note:-

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.

Question:-

  1. Can we use LiveData instead of Loader?
    Ans:- Yes we can use LiveData instead of Loader.
  • Database Operations use:-
  1. Insert.
  2. Update.
  3. Delete.
  • Android architecture components:-
  1. LiveData.
  2. ViewModel.
  3. Room Persistence Library.

It also show's you that how to display alertdialog if the user have Click on the EditText View.

Screenshots:-