pacakage name: [com.shimhg02.hyogeunexample.artodo]
SensorManager
AzimuthListener
LocationChange
Camera Permission
Google+ Core
<dependency>
<groupId>io.reactivex.rxjava2</groupId>
<artifactId>rxkotlin</artifactId>
<version>2.x.y</version>
</dependency>
and for Gradle:
implementation 'io.reactivex.rxjava2:rxkotlin:x.y.z'
Example for Maven:
<dependency>
<groupId>io.reactivex</groupId>
<artifactId>rxkotlin</artifactId>
<version>1.x.y</version>
</dependency>
and for Gradle:
implementation 'io.reactivex:rxkotlin:x.y.z'
You can also use Gradle or Maven with JitPack to build directly off a snapshot, branch, or commit of this repository.
For example, to build off the 2.x branch, use this setup for Gradle:
repositories {
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.ReactiveX:RxKotlin:2.x-SNAPSHOT'
}
Use this setup for Maven:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.ReactiveX</groupId>
<artifactId>RxKotlin</artifactId>
<version>2.x-SNAPSHOT</version>
</dependency>
Learn more about building this project with JitPack here.
Target Type | Method | Return Type | Description |
---|---|---|---|
BooleanArray | toObservable() | Observable | Turns a Boolean array into an Observable |
ByteArray | toObservable() | Observable | Turns a Byte array into an Observable |
ShortArray | toObservable() | Observable | Turns a Short array into an Observable |
IntArray | toObservable() | Observable | Turns an Int array into an Observable |
LongArray | toObservable() | Observable | Turns a Long array into an Observable |
FloatArray | toObservable() | Observable | Turns a Float array into an Observable |
DoubleArray | toObservable() | Observable | Turns a Double array into an Observable |
Array | toObservable() | Observable | Turns a T array into an Observable |
IntProgression | toObservable() | Observable | Turns an IntProgression into an Observable |
Iterable | toObservable() | Observable | Turns an Iterable<T> into an Observable |
Iterator | toObservable() | Observable | Turns an Iterator<T> into an Observable |
Observable | flatMapSequence() | Observable | Flat maps each T emission to a Sequence<R> |
Observable<Pair<A,B>> | toMap() | Single<Map<A,B>> | Collects Pair<A,B> emissions into a Map<A,B> |
Observable<Pair<A,B>> | toMultimap() | Single<Map<A, List<B>> |
Collects Pair<A,B> emissions into a Map<A,List<B>> |
Observable<Observable> | mergeAll() | Observable | Merges all Observables emitted from an Observable |
Observable<Observable> | concatAll() | Observable | Concatenates all Observables emitted from an Observable |
Observable<Observable> | switchLatest() | Observable | Emits from the last emitted Observable |
Observable<*> | cast() | Observable | Casts all emissions to the reified type |
Observable<*> | ofType() | Observable | Filters all emissions to only the reified type |
Iterable<Observable> | merge() | Observable | Merges an Iterable of Observables into a single Observable |
Iterable<Observable> | mergeDelayError() | Observable | Merges an Iterable of Observables into a single Observable, but delays any error |
BooleanArray | toFlowable() | Flowable | Turns a Boolean array into an Flowable |
ByteArray | toFlowable() | Flowable | Turns a Byte array into an Flowable |
ShortArray | toFlowable() | Flowable | Turns a Short array into an Flowable |
IntArray | toFlowable() | Flowable | Turns an Int array into an Flowable |
LongArray | toFlowable() | Flowable | Turns a Long array into an Flowable |
FloatArray | toFlowable() | Flowable | Turns a Float array into an Flowable |
DoubleArray | toFlowable() | Flowable | Turns a Double array into an Flowable |
Array | toFlowable() | Flowable | Turns a T array into an Flowable |
IntProgression | toFlowable() | Flowable | Turns an IntProgression into an Flowable |
Iterable | toFlowable() | Flowable | Turns an Iterable<T> into an Flowable |
Iterator | toFlowable() | Flowable | Turns an Iterator<T> into an Flowable |
Flowable | flatMapSequence() | Flowable | Flat maps each T emission to a Sequence<R> |
Flowable<Pair<A,B>> | toMap() | Single<Map<A,B>> | Collects Pair<A,B> emissions into a Map<A,B> |
Flowable<Pair<A,B>> | toMultimap() | Single<Map<A, List<B>>> |
Collects Pair<A,B> emissions into a Map<A,List<B>> |
Flowable<Flowable> | mergeAll() | Flowable | Merges all Flowables emitted from an Flowable |
Flowable<Flowable> | concatAll() | Flowable | Concatenates all Flowables emitted from an Flowable |
Flowable<Flowable> | switchLatest() | Flowable | Emits from the last emitted Flowable |
Flowable | cast() | Flowable | Casts all emissions to the reified type |
Flowable | ofType() | Flowable | Filters all emissions to only the reified type |
Iterable<Flowable> | merge() | Flowable | Merges an Iterable of Flowables into a single Flowable |
Iterable<Flowable> | mergeDelayError() | Flowable | Merges an Iterable of Flowables into a single Flowable, but delays any error |
Single | cast() | Single | Casts all emissions to the reified type |
Observable<Single> | mergeAllSingles() | Observable | Merges all Singles emitted from an Observable |
Flowable<Single> | mergeAllSingles() | Flowable | Merges all Singles emitted from a Flowable |
Maybe | cast() | Maybe | Casts any emissions to the reified type |
Maybe | ofType() | Maybe | Filters any emission that is the reified type |
Observable<Maybe> | mergeAllMaybes() | Observable | Merges all emitted Maybes |
Flowable<Maybe> | mergeAllMaybes() | Flowable | Merges all emitted Maybes |
Action | toCompletable() | Completable | Turns an Action into a Completable |
Callable | toCompletable() | Completable | Turns a Callable into a Completable |
Future | toCompletable() | Completable | Turns a Future into a Completable |
(() -> Any) | toCompletable() | Completable | Turns a (() -> Any) into a Completable |
Observable | mergeAllCompletables() | Completable> | Merges all emitted Completables |
Flowable | mergeAllCompletables() | Completable | Merges all emitted Completables |
Observable | subscribeBy() | Disposable | Allows named arguments to construct an Observer |
Flowable | subscribeBy() | Disposable | Allows named arguments to construct a Subscriber |
Single | subscribeBy() | Disposable | Allows named arguments to construct a SingleObserver |
Maybe | subscribeBy() | Disposable | Allows named arguments to construct a MaybeObserver |
Completable | subscribeBy() | Disposable | Allows named arguments to construct a CompletableObserver |
Observable | blockingSubscribeBy() | Unit | Allows named arguments to construct a blocking Observer |
Flowable | blockingSubscribeBy() | Unit | Allows named arguments to construct a blocking Subscriber |
Disposable | addTo() | Disposable | Adds a Disposable to the specified CompositeDisposable |
CompositeDisposable | plusAssign() | Disposable | Operator function to add a Disposable to thisCompositeDisposable |