Parse LiveQuery

Very simple and modern implementation, it lacks tests and extra functionality at this moment but i'm working on it.

Лицензия

Лицензия

Группа

Группа

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

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

parse-livequery
Последняя версия

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

1.0.3
Дата

Дата

Тип

Тип

aar
Описание

Описание

Parse LiveQuery
Very simple and modern implementation, it lacks tests and extra functionality at this moment but i'm working on it.
Ссылка на сайт

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

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

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

https://github.com/TGIO/ParseLiveQuery

Скачать parse-livequery

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

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

Зависимости

compile (5)

Идентификатор библиотеки Тип Версия
com.artemzin.rxjava : proguard-rules jar 1.1.6.0
io.reactivex : rxandroid jar 1.2.1
com.squareup.okhttp3 : okhttp-ws jar 3.4.0
io.reactivex : rxjava jar 1.1.6
com.android.support » support-annotations jar 24.2.0

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

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

Deprecated, please use https://github.com/parse-community/ParseLiveQuery-Android

Jit Pack

Parse LiveQuery Implementation for Android

Simple ParseLiveQuery with subscribe, unsubscribe and listen events. Based on ParseLiveQuery

Import guide

dependencies {
    compile 'com.github.tgio:parse-livequery:1.0.3'
}

Server-Setup

  1. Make sure u have node and npm installed.
  2. cd Server && npm install
  3. node server.js

Usage

//Do initialization, for example in App.java
LiveQueryClient.init(WS_URL, MY_APP_ID, true);

//Connect
LiveQueryClient.connect();

//Subscribe for parse object "Message" where "body" equals "asd" and include "body" field in response

//  Subscription
final Subscription subscription = new BaseQuery.Builder("Message")
      .where("body", "asd")
      .addField("body")
      .build()
      .subscribe();

//  Listen
subscription.on(LiveQueryEvent.CREATE, new OnListener() {
  @Override
  public void on(final JSONObject object) {
      Log.e("CREATED", object.toString());
  }
});

//  Unsubscribe
//subscription.unsubscribe();

Contributors

[Khirr] (https://github.com/khirr)

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

Версия
1.0.3