Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

com.shipdream:android-mvc-controller

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

com.shipdream:android-mvc-controller

Controller module for AndroidMvc Framework. It doesn't depend on Android SDK thus app controller module depending on this module would do jUnit test easily on pure JVM.

  • 2.2.0
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

AndroidMvc Framework

Build Status Coverage Status Download Maven Central

Website

http://kejunxia.github.io/AndroidMvc

Features

  • Easy to apply MVC/MVVM pattern for Android development
  • Event driven
  • Easy testing for controllers on JVM without Android dependency
  • Dependency injection with Poke to make mock easy
  • Manage navigation by NavigationController which is also testable
  • Improved Fragment life cycles - e.g. Differentiate why view is created: 1. Reason.isNewInstance(), 2. Reason.isFirstTime(), 3. Reason.isRestored(), 4 Reason.isRotated()
  • Automatically save restore instance state

Samples

  • Counter - A simple sample demonstrates how to use the framework including dependency injection, event bus, unit testing, navigation and etc.

    See Source code here and download Sample APK here

  • Note - A more complex sample to make notes and query weathers with slide menu and also demonstrates how consume network resources (public weather API) and test the async task without depending on Android SDK on pure JVM.

    See Source code here and download Sample APK here

Download

The library is currently released to both

  • jCenter Download
  • Maven Central Maven Central

Maven:

<dependency>
    <groupId>com.shipdream</groupId>
    <artifactId>android-mvc</artifactId>
    <version>[LatestVersion]</version>
</dependency>

Gradle:

compile "com.shipdream:android-mvc:[LatestVersion]"

Dependency injection with reference count

See the documentation of Poke

FAQs

Package last updated on 21 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc