Prestige

MVC pattern for Android.

Лицензия

Лицензия

Группа

Группа

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

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

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

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

0.8.6
Дата

Дата

Тип

Тип

jar
Описание

Описание

Prestige
MVC pattern for Android.
Ссылка на сайт

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

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

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

https://github.com/imminent/prestige

Скачать prestige

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

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

Зависимости

compile (9)

Идентификатор библиотеки Тип Версия
com.google.android : annotations jar 4.1.1.4
com.jakewharton.timber : timber jar 2.0.0
com.google.code.findbugs : annotations jar 2.+
com.squareup : javawriter jar 2.2.0
com.squareup.dagger : dagger jar 1.2.0
com.squareup : otto jar 1.3.4
com.google.code.gson : gson jar 2.2.4
com.google.android : android jar 4.0.1.2
com.google.guava : guava jar 15.+

test (4)

Идентификатор библиотеки Тип Версия
com.google.testing.compile : compile-testing jar 0.3
org.mockito : mockito-core jar 1.9.5
junit : junit jar 4.10
org.hamcrest : hamcrest-core jar 1.3

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

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

The Pledge

The Turn

While "magic is for children", sometimes careful planning can turn the oridinary into something magical.

The Prestige

With Prestige.conjureSegueController(String) and an Application that implements SegueControllerApplication, you are able to create the Controllers and inject Data Sources using Prestige.conjureController(Activity) and @InjectDataSource. You should make sure to Prestige.vansihController(Activity) when the Activity is destroyed. This setup can be done in an Application.ActivityLifecycleCallbacks

public class PrestigeCallbacks implements Application.ActivityLifecycleCallbacks {
	
	@Override
	public void onActivityCreated(Activity activity, Bundle _) {
		Prestige.conjureController(activity);
	}
	
	@Override
	public void onActivityDestroyed(Activity activity) {
		Prestige.vanishController(activity);
	}
	
	// … Remaining methods are empty
}

Note: Prestige currently requires Ice Cream Sandwich to work, but backward-compatibility can be included.

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

Версия
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8