Kickstarter framework for android projects. This framework might resemble MVVM but actually this is a standalone framework for android projects(ModelEngine ViewModel View).
We appreciate developers to be part of the active development community for the DroidWizard framework
Every Fragments should extend CoreFragmentView and implement respective callback
Every Activity should extend CoreActivityView and implement respective callback
Every RecyclerView Adapter should extend CoreAdapter<Item, ViewHolder>
(Similar to ViewModel in MVVM) Every Views listed above should attached to a modelview that extends CoreModelView
The interface that talks to view from model view
ModelEngines are the one that deals with data make api call and decide what to do with data when to fetch from db and when to fetch from Server etc.
ModelEngines are singleton class that runs in application context irrespective of state of your views
Have a look at example app such as SimpleActivity and SimpleFragment that fetch data from stackoverflow website
Step 1. Add the JitPack repository to your build file Build.gradle (app)
repositories {
maven { url 'https://jitpack.io' }
}
Step 2. Add the dependency
dependencies {
compile 'com.github.praslnx8:DroidWizard:1.3'
}
Check us at ![Medium]
Enjoy!