A Model-View-Presenter library for modern Android apps
Java Kotlin Shell
Latest commit 4c680c6 Jan 20, 2017 @sockeqwe code cleanup
Permalink
Failed to load latest commit information.
.buildscript Finetuning travis Jan 17, 2017
gradle/wrapper Updated to gradle 3.2.1 Dec 4, 2016
mvi-integration-test Fixes #191 Jan 17, 2017
mvi Cleaning up code for MosbySavedState Jan 18, 2017
mvp-common fixes #182 Jan 9, 2017
mvp moved PresenterManager into his own package; Initial MviActivity impl… Dec 7, 2016
presentermanager Cleaning up code for MosbySavedState Jan 18, 2017
sample-flow moved PresenterManager into his own package; Initial MviActivity impl… Dec 7, 2016
sample-mail Added mvi-integration-test module to test lifecycle in real application Dec 12, 2016
sample-mvi code cleanup Jan 20, 2017
sample moved PresenterManager into his own package; Initial MviActivity impl… Dec 7, 2016
testing moved PresenterManager into his own package; Initial MviActivity impl… Dec 7, 2016
utils-fragment-integration-test Fixes #191 Jan 17, 2017
utils-fragment Updated Sample Jan 15, 2017
viewstate moved PresenterManager into his own package; Initial MviActivity impl… Dec 7, 2016
.codeclimate.yml ShoppingCart Jan 3, 2017
.gitignore Added captures to gitignore Mar 24, 2016
.travis.yml Correctly determine when a Fragment is removed permanently Jan 17, 2017
LICENSE Update LICENSE Oct 18, 2015
README.md Relased alpha2 Jan 19, 2017
build.gradle Adding some GUI compontents following MVI principles Jan 4, 2017
deploy_javadoc.sh Fixed deploy javadoc script Sep 4, 2015
findbugs.gradle Added Findbugs Android script Jul 13, 2015
gradle.properties Initial mvi sample backend data Dec 7, 2016
gradlew initial commit Feb 25, 2015
gradlew.bat initial commit Feb 25, 2015
maven-push-java-lib.gradle Snapshot with docs and sources Apr 30, 2016
maven-push.gradle Snapshot with docs and sources Apr 30, 2016
settings.gradle Added tests for utils-fragment Dec 14, 2016

README.md

Mosby

A Model-View-Presenter library for modern Android apps.

Check the project website for more information.

Build Status

Dependency

dependencies {
    compile 'com.hannesdorfmann.mosby:mvp:2.0.1'
    compile 'com.hannesdorfmann.mosby:viewstate:2.0.1' // optional viewstate feature
}

Mosby3 preview:

dependencies {
    compile 'com.hannesdorfmann.mosby3:mvp:3.0.0-alpha2'
    compile 'com.hannesdorfmann.mosby3:viewstate:3.0.0-alpha2'
    compile 'com.hannesdorfmann.mosby3:mvi:3.0.0-alpha2'
}

SNAPSHOT:

dependencies {
    compile 'com.hannesdorfmann.mosby3:mvp:3.0.0-SNAPSHOT'
    compile 'com.hannesdorfmann.mosby3:viewstate:3.0.0-SNAPSHOT'
    compile 'com.hannesdorfmann.mosby3:mvi:3.0.0-SNAPSHOT'
}

Sample APK

You can find the sample apk files in the release section

Changelog

The changelog can be found in the release section

Migrating

See the project website for migrating from Mosby 1.x to Mosby 2.0

Conductor

Mosby has a plugin for Conductor. You can find it here: https://github.com/sockeqwe/mosby-conductor

License

Copyright 2015 Hannes Dorfmann

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.