Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 1.41 KB

File metadata and controls

15 lines (8 loc) · 1.41 KB

FirebaseApp - Clean Architecture with MVVM.

FirebaseApp, is an aplication build using Java 8 as an example for integrating two very important Firebase services: Firebase Authenication and Cloud Firestore.

The authentication process is based on using a Google account. To keep things simple, the app uses a very simple database schema that look like in the image below:

alt text

For getting the data, the app uses LiveData and the pagination is build using the Pagination Library together with MVVM Architecture Pattern. The app has a search feature which also uses pagination. For dependency injection the app uses Dagger2 and data binding to bind UI components in the layouts.

For displaying the data, the app uses Android Navigation Component.

To make this app work, follow the instructions given in the official documentation regarding how to add Firebase to your project. Add the JSON file in your app folder, add some dummy products and see its features.

See it on youtube: https://www.youtube.com/watch?v=esYPwbGW7YY