Mosby Model-View-Presenter

A Model-View-Presenter library for Android apps

Лицензия

Лицензия

Группа

Группа

com.hannesdorfmann.mosby3
Идентификатор

Идентификатор

mvp
Последняя версия

Последняя версия

3.1.1
Дата

Дата

Тип

Тип

aar
Описание

Описание

Mosby Model-View-Presenter
A Model-View-Presenter library for Android apps
Ссылка на сайт

Ссылка на сайт

https://github.com/sockeqwe/mosby
Система контроля версий

Система контроля версий

https://github.com/sockeqwe/mosby

Скачать mvp

Имя Файла Размер
mvp-3.1.1.pom
mvp-3.1.1.aar 43 KB
mvp-3.1.1-sources.jar 31 KB
mvp-3.1.1-javadoc.jar 121 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.hannesdorfmann.mosby3/mvp/ -->
<dependency>
    <groupId>com.hannesdorfmann.mosby3</groupId>
    <artifactId>mvp</artifactId>
    <version>3.1.1</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.hannesdorfmann.mosby3/mvp/
implementation 'com.hannesdorfmann.mosby3:mvp:3.1.1'
// https://jarcasting.com/artifacts/com.hannesdorfmann.mosby3/mvp/
implementation ("com.hannesdorfmann.mosby3:mvp:3.1.1")
'com.hannesdorfmann.mosby3:mvp:aar:3.1.1'
<dependency org="com.hannesdorfmann.mosby3" name="mvp" rev="3.1.1">
  <artifact name="mvp" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.hannesdorfmann.mosby3', module='mvp', version='3.1.1')
)
libraryDependencies += "com.hannesdorfmann.mosby3" % "mvp" % "3.1.1"
[com.hannesdorfmann.mosby3/mvp "3.1.1"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
com.android.support » appcompat-v7 jar 28.0.0
com.hannesdorfmann.mosby3 : mvp-common jar 3.1.1
com.hannesdorfmann.mosby3 : presentermanager jar 3.1.1
com.hannesdorfmann.mosby3 : utils-fragment jar 3.1.1

Модули Проекта

Данный проект не имеет модулей.

Mosby

A Model-View-Presenter and Model-View-Intent library for Android apps.

Build Status

Dependency

dependencies {

  compile 'com.hannesdorfmann.mosby3:mvi:3.1.1' // Model-View-Intent
  // or
  compile 'com.hannesdorfmann.mosby3:mvp:3.1.1' // Plain MVP
  // or
  compile 'com.hannesdorfmann.mosby3:viewstate:3.1.1' // MVP + ViewState support
}

Additional modules:

dependencies {

  // MVP + ViewState + LCE Views
  compile 'com.hannesdorfmann.mosby3:mvp-lce:3.1.1'

  // Null Object Presenter for MVP
  compile 'com.hannesdorfmann.mosby3:mvp-nullobject-presenter:3.1.1'
  
  // Queuing Presenter for MVP
  compile 'com.hannesdorfmann.mosby3:mvp-queuing-presenter:3.1.1'
}

SNAPSHOT:

dependencies {

  compile 'com.hannesdorfmann.mosby3:mvi:3.1.2-SNAPSHOT'

  compile 'com.hannesdorfmann.mosby3:mvp:3.1.2-SNAPSHOT'
  compile 'com.hannesdorfmann.mosby3:viewstate:3.1.2-SNAPSHOT'

  compile 'com.hannesdorfmann.mosby3:mvp-lce:3.1.2-SNAPSHOT'
  compile 'com.hannesdorfmann.mosby3:mvp-nullobject-presenter:3.1.2-SNAPSHOT'
  compile 'com.hannesdorfmann.mosby3:mvp-queuing-presenter:3.1.2-SNAPSHOT'
}

You also have to add the url to the snapshot repository:

allprojects {
  repositories {
    maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  }
}

Documentation

See the project website.

For Model-View-Intent check out this blog post series.

Changelog

The changelog can be found in the release section

Migrating

In Mosby 3.0 we have changed the package name from com.hannesdorfmann.mosby to com.hannesdorfmann.mosby3 (note the 3 at the end). 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 with Edit -> Find -> Replace in Path ... and set find import com.hannesdorfmann.mosby replace with import com.hannesdorfmann.mosby3. There were also some minor API changes (see changelog), but most apps should be fine by replacing the import statements.

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.

Версии библиотеки

Версия
3.1.1
3.1.0
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
3.0.0-alpha4
3.0.0-alpha3
3.0.0-alpha2
3.0.0-alpha1