AndroidWizard

Additional

Language
Java
Version
1.6 (Sep 20, 2017)
Created
May 9, 2017
Updated
Sep 20, 2017 (Retired)
Owner
Prasanna (praslnx8)
Contributors
Prasanna (praslnx8)
Saiprashanth R (Saiprashanth-1993)
2
Activity
Badge
Generate
Download
Source code

Advertisement

DroidWizard

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

Views

CoreFragmentView

Every Fragments should extend CoreFragmentView and implement respective callback

CoreActivityView

Every Activity should extend CoreActivityView and implement respective callback

CoreAdapter

Every RecyclerView Adapter should extend CoreAdapter<Item, ViewHolder>

ViewModel

CoreViewModel

(Similar to ViewModel in MVVM) Every Views listed above should attached to a modelview that extends CoreModelView

CoreCallBack

The interface that talks to view from model view

ModelEngine

CoreModelEngine

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

Example

Have a look at example app such as SimpleActivity and SimpleFragment that fetch data from stackoverflow website

Implementation

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!