Android promise

Android Library for promise/deferred

Лицензия

Лицензия

Группа

Группа

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

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

android-promise
Последняя версия

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

1.0.6
Дата

Дата

Тип

Тип

aar
Описание

Описание

Android promise
Android Library for promise/deferred
Ссылка на сайт

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

https://github.com/bdeneuter/android-promise
Система контроля версий

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

https://github.com/bdeneuter/android-promise.git

Скачать android-promise

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

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

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
com.android.support » appcompat-v7 jar +

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

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

android-promise

NOTE: I DEPRECATED THIS LIBRARY AS I AM USING NOW RXJAVA FOR ASYNC

A simple library for promise/deferred in Android. Instead of using an AsyncTask, you can return a deferred to the caller while you start work on a background thread. When the work is finished you can resolve or reject the deferred. The users of the promise object can add tasks that need to be executed when the deferred is resolved or rejected. The user can specify on which thread this task needs to be executed.

The user of the promise doesn't need to worry if a promise is already resolved or not. If it is already resolved, the task will be executed immediatly. If not, the task will be scheduled to be executed when the deferred is resolved.

See also http://bdeneuter.github.io/android-promise/

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

Версия
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0