Reactive Supplies utility library.
Collected Rx1 enclosed utilities.
provided 'io.reactivex:rxjava:1.3.+'
ObservableGlue provides a simple interface to glue an Android Data Binding
Observable
field to an rx.Observable
emitting changes within a reactive
stream.
ObservableGlue.with(observableField)
....
.subscribe(onNext);
This is particularly useful to observe user input.
RxOkCall provides an Rx wrapper around OkHttp exposing an
rx.Single<Response>
emitting the okHttp3.Response
or any error
to the reactive stream.
RxOkCall.from(call)
....
.subscribe(consumeResponse, onError);
provided 'com.squareup.okhttp3:okhttp:3.8.+'
Add JitPack to your repositories and Reactive Supplies to your dependencies
dependencies {
compile "berlin.volders.supplies:reactive:$suppliesVersion"
}
Copyright (C) 2016 volders GmbH with <3 in Berlin
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.