Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 781 Bytes

File metadata and controls

18 lines (13 loc) · 781 Bytes

Android MVVM Base structure

This repository is a simple & clean base structure of MVVM architecture using Dagger2, Room, RxJava, Retrofit networking.

The app has following modules:

  1. app: These module is the actual module, where you can add your code.
  2. buildSrc: Contains all the dependencies, classpaths & modules information in separated kts classes.
  3. core: Basic structure of MVVM architecture setup.

Core module has following packages:

  1. di: Dependency providing classes using Dagger2.
  2. live data: Observe the object changes everytime.
  3. shared preference: save all type of data to shared preference.
  4. toolbar: Customize the toolbar according to the needed.
  5. utilities: Utility classes.

try it, Hope you like it. :)