praslnx8/DroidWizard


Kickstart framework for android development

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.praslnx8:DroidWizard:1.6'
	}
	dependencies {
		implementation("com.github.praslnx8:DroidWizard:1.6")
	}
	<dependency>
	    <groupId>com.github.praslnx8</groupId>
	    <artifactId>DroidWizard</artifactId>
	    <version>1.6</version>
	</dependency>

                            
    libraryDependencies += "com.github.praslnx8" % "DroidWizard" % "1.6"
        
        

                            
    :dependencies [[com.github.praslnx8/DroidWizard "1.6"]]
        
        

Readme


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<CMV extends CoreModelView> and implement respective callback

CoreActivityView

Every Activity should extend CoreActivityView<CMV extends CoreModelView> 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<CB extends CoreCallBack>

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!