Mosby is a model-view-presenter and model-view-intent library designed specifically for Android apps. Migrating a Mosby 2.x based app to Mosby 3.0 should be straightforward. Just replace all import statements of your app in android studio. Mosby has a plugin for Conductor. The aim of this library is to help you build modern android apps with a clean Model-View-Presenter architecture. Furthermore, Mosby helps you to handle screen orientation changes by introducing ViewState and retaining Presenters. At first glance Mosby looks a lot like a framework. There are some classes like MvpFragment you can extends from, but the point is that you don’t have to if you don’t want to. At it’s core Mosby is a tiny library based on delegation. So you don’t have to use MvpFragment if you don’t want to. You can use delegation and composition to integrate Mosby in your own development stack. Hence you are not caught into a frameworks boundaries and limits.
Features
- Build MVP based screens
- It supports Kotlin
- Mosby is divided in modules
- Handle screen orientation changes
- You can use delegation and composition to integrate Mosby
- Mosby is a tiny library based on delegation