mvrx-rxjava2
Module Contents
alltypes
Module Contents
abstract class BaseMvRxFragment : Fragment, MvRxView
abstract class BaseMvRxViewModel<S : MvRxState> : MavericksViewModel<S>
Module Contents
BaseMvRxViewModel(initialState: S)
protected fun <T> asyncSubscribe(asyncProp: KProperty1<S, Async<T>>, onFail: ((Throwable) -> Unit)? = null, onSuccess: ((T) -> Unit)? = null): Disposable
protected fun <T, S : MvRxState> asyncSubscribe(viewModel: BaseMvRxViewModel<S>, asyncProp: KProperty1<S, Async<T>>, onFail: ((Throwable) -> Unit)? = null, onSuccess: ((T) -> Unit)? = null): Unit
protected fun Disposable.disposeOnClear(): Disposable
fun <T> Single<T>.execute(stateReducer: S.(Async<T>) -> S): Disposable
fun <T, V> Single<T>.execute(mapper: (T) -> V, stateReducer: S.(Async<V>) -> S): Disposable
fun <T> Observable<T>.execute(stateReducer: S.(Async<T>) -> S): Disposable
fun Completable.execute(stateReducer: S.(Async<Unit>) -> S): Disposable
fun <T, V> Observable<T>.execute(mapper: (T) -> V, successMetaData: ((T) -> Any)? = null, stateReducer: S.(Async<V>) -> S): Disposable
fun logStateChanges(): Unit
open fun onCleared(): Unit
protected fun <A> selectSubscribe(prop1: KProperty1<S, A>, subscriber: (A) -> Unit): Disposable
protected fun <A, S : MvRxState> selectSubscribe(viewModel: BaseMvRxViewModel<S>, prop1: KProperty1<S, A>, subscriber: (A) -> Unit): Unit
protected fun <A, B> selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, subscriber: (A, B) -> Unit): Disposable
protected fun <A, B, S : MvRxState> selectSubscribe(viewModel: BaseMvRxViewModel<S>, prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, subscriber: (A, B) -> Unit): Unit
protected fun <A, B, C> selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, subscriber: (A, B, C) -> Unit): Disposable
protected fun <A, B, C, S : MvRxState> selectSubscribe(viewModel: BaseMvRxViewModel<S>, prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, subscriber: (A, B, C) -> Unit): Unit
protected fun <A, B, C, D> selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, subscriber: (A, B, C, D) -> Unit): Disposable
protected fun <A, B, C, D, S : MvRxState> selectSubscribe(viewModel: BaseMvRxViewModel<S>, prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, subscriber: (A, B, C, D) -> Unit): Unit
protected fun <A, B, C, D, E> selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, prop5: KProperty1<S, E>, subscriber: (A, B, C, D, E) -> Unit): Disposable
protected fun <A, B, C, D, E, S : MvRxState> selectSubscribe(viewModel: BaseMvRxViewModel<S>, prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, prop5: KProperty1<S, E>, subscriber: (A, B, C, D, E) -> Unit): Unit
protected fun <A, B, C, D, E, F> selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, prop5: KProperty1<S, E>, prop6: KProperty1<S, F>, subscriber: (A, B, C, D, E, F) -> Unit): Disposable
protected fun <A, B, C, D, E, F, S : MvRxState> selectSubscribe(viewModel: BaseMvRxViewModel<S>, prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, prop5: KProperty1<S, E>, prop6: KProperty1<S, F>, subscriber: (A, B, C, D, E, F) -> Unit): Unit
protected fun <A, B, C, D, E, F, G> selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, prop5: KProperty1<S, E>, prop6: KProperty1<S, F>, prop7: KProperty1<S, G>, subscriber: (A, B, C, D, E, F, G) -> Unit): Disposable
protected fun <A, B, C, D, E, F, G, S : MvRxState> selectSubscribe(viewModel: BaseMvRxViewModel<S>, prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, prop5: KProperty1<S, E>, prop6: KProperty1<S, F>, prop7: KProperty1<S, G>, subscriber: (A, B, C, D, E, F, G) -> Unit): Unit
protected fun subscribe(subscriber: (S) -> Unit): Disposable
protected fun <S : MvRxState> subscribe(viewModel: BaseMvRxViewModel<S>, subscriber: (S) -> Unit): Unit
class BuildConfig
class BuildConfig
interface MvRxView : MavericksView
Module Contents
open fun <S : MvRxState, T> BaseMvRxViewModel<S>.asyncSubscribe(asyncProp: KProperty1<S, Async<T>>, deliveryMode: DeliveryMode = RedeliverOnStart, onFail: ((Throwable) -> Unit)? = null, onSuccess: ((T) -> Unit)? = null): Disposable
open fun <S : MvRxState, A> BaseMvRxViewModel<S>.selectSubscribe(prop1: KProperty1<S, A>, deliveryMode: DeliveryMode = RedeliverOnStart, subscriber: (A) -> Unit): Disposable
open fun <S : MvRxState, A, B> BaseMvRxViewModel<S>.selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, deliveryMode: DeliveryMode = RedeliverOnStart, subscriber: (A, B) -> Unit): Disposable
open fun <S : MvRxState, A, B, C> BaseMvRxViewModel<S>.selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, deliveryMode: DeliveryMode = RedeliverOnStart, subscriber: (A, B, C) -> Unit): Disposable
open fun <S : MvRxState, A, B, C, D> BaseMvRxViewModel<S>.selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, deliveryMode: DeliveryMode = RedeliverOnStart, subscriber: (A, B, C, D) -> Unit): Disposable
open fun <S : MvRxState, A, B, C, D, E> BaseMvRxViewModel<S>.selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, prop5: KProperty1<S, E>, deliveryMode: DeliveryMode = RedeliverOnStart, subscriber: (A, B, C, D, E) -> Unit): Disposable
open fun <S : MvRxState, A, B, C, D, E, F> BaseMvRxViewModel<S>.selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, prop5: KProperty1<S, E>, prop6: KProperty1<S, F>, deliveryMode: DeliveryMode = RedeliverOnStart, subscriber: (A, B, C, D, E, F) -> Unit): Disposable
open fun <S : MvRxState, A, B, C, D, E, F, G> BaseMvRxViewModel<S>.selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, prop5: KProperty1<S, E>, prop6: KProperty1<S, F>, prop7: KProperty1<S, G>, deliveryMode: DeliveryMode = RedeliverOnStart, subscriber: (A, B, C, D, E, F, G) -> Unit): Disposable
open fun <S : MvRxState> BaseMvRxViewModel<S>.subscribe(deliveryMode: DeliveryMode = RedeliverOnStart, subscriber: (S) -> Unit): Disposable
package com.airbnb.mvrx
Module Contents
abstract class BaseMvRxFragment : Fragment, MvRxView
abstract class BaseMvRxViewModel<S : MvRxState> : MavericksViewModel<S>
Module Contents
BaseMvRxViewModel(initialState: S)
protected fun <T> asyncSubscribe(asyncProp: KProperty1<S, Async<T>>, onFail: ((Throwable) -> Unit)? = null, onSuccess: ((T) -> Unit)? = null): Disposable
protected fun <T, S : MvRxState> asyncSubscribe(viewModel: BaseMvRxViewModel<S>, asyncProp: KProperty1<S, Async<T>>, onFail: ((Throwable) -> Unit)? = null, onSuccess: ((T) -> Unit)? = null): Unit
protected fun Disposable.disposeOnClear(): Disposable
fun <T> Single<T>.execute(stateReducer: S.(Async<T>) -> S): Disposable
fun <T, V> Single<T>.execute(mapper: (T) -> V, stateReducer: S.(Async<V>) -> S): Disposable
fun <T> Observable<T>.execute(stateReducer: S.(Async<T>) -> S): Disposable
fun Completable.execute(stateReducer: S.(Async<Unit>) -> S): Disposable
fun <T, V> Observable<T>.execute(mapper: (T) -> V, successMetaData: ((T) -> Any)? = null, stateReducer: S.(Async<V>) -> S): Disposable
fun logStateChanges(): Unit
open fun onCleared(): Unit
protected fun <A> selectSubscribe(prop1: KProperty1<S, A>, subscriber: (A) -> Unit): Disposable
protected fun <A, S : MvRxState> selectSubscribe(viewModel: BaseMvRxViewModel<S>, prop1: KProperty1<S, A>, subscriber: (A) -> Unit): Unit
protected fun <A, B> selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, subscriber: (A, B) -> Unit): Disposable
protected fun <A, B, S : MvRxState> selectSubscribe(viewModel: BaseMvRxViewModel<S>, prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, subscriber: (A, B) -> Unit): Unit
protected fun <A, B, C> selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, subscriber: (A, B, C) -> Unit): Disposable
protected fun <A, B, C, S : MvRxState> selectSubscribe(viewModel: BaseMvRxViewModel<S>, prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, subscriber: (A, B, C) -> Unit): Unit
protected fun <A, B, C, D> selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, subscriber: (A, B, C, D) -> Unit): Disposable
protected fun <A, B, C, D, S : MvRxState> selectSubscribe(viewModel: BaseMvRxViewModel<S>, prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, subscriber: (A, B, C, D) -> Unit): Unit
protected fun <A, B, C, D, E> selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, prop5: KProperty1<S, E>, subscriber: (A, B, C, D, E) -> Unit): Disposable
protected fun <A, B, C, D, E, S : MvRxState> selectSubscribe(viewModel: BaseMvRxViewModel<S>, prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, prop5: KProperty1<S, E>, subscriber: (A, B, C, D, E) -> Unit): Unit
protected fun <A, B, C, D, E, F> selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, prop5: KProperty1<S, E>, prop6: KProperty1<S, F>, subscriber: (A, B, C, D, E, F) -> Unit): Disposable
protected fun <A, B, C, D, E, F, S : MvRxState> selectSubscribe(viewModel: BaseMvRxViewModel<S>, prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, prop5: KProperty1<S, E>, prop6: KProperty1<S, F>, subscriber: (A, B, C, D, E, F) -> Unit): Unit
protected fun <A, B, C, D, E, F, G> selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, prop5: KProperty1<S, E>, prop6: KProperty1<S, F>, prop7: KProperty1<S, G>, subscriber: (A, B, C, D, E, F, G) -> Unit): Disposable
protected fun <A, B, C, D, E, F, G, S : MvRxState> selectSubscribe(viewModel: BaseMvRxViewModel<S>, prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, prop5: KProperty1<S, E>, prop6: KProperty1<S, F>, prop7: KProperty1<S, G>, subscriber: (A, B, C, D, E, F, G) -> Unit): Unit
protected fun subscribe(subscriber: (S) -> Unit): Disposable
protected fun <S : MvRxState> subscribe(viewModel: BaseMvRxViewModel<S>, subscriber: (S) -> Unit): Unit
interface MvRxView : MavericksView
Module Contents
open fun <S : MvRxState, T> BaseMvRxViewModel<S>.asyncSubscribe(asyncProp: KProperty1<S, Async<T>>, deliveryMode: DeliveryMode = RedeliverOnStart, onFail: ((Throwable) -> Unit)? = null, onSuccess: ((T) -> Unit)? = null): Disposable
open fun <S : MvRxState, A> BaseMvRxViewModel<S>.selectSubscribe(prop1: KProperty1<S, A>, deliveryMode: DeliveryMode = RedeliverOnStart, subscriber: (A) -> Unit): Disposable
open fun <S : MvRxState, A, B> BaseMvRxViewModel<S>.selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, deliveryMode: DeliveryMode = RedeliverOnStart, subscriber: (A, B) -> Unit): Disposable
open fun <S : MvRxState, A, B, C> BaseMvRxViewModel<S>.selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, deliveryMode: DeliveryMode = RedeliverOnStart, subscriber: (A, B, C) -> Unit): Disposable
open fun <S : MvRxState, A, B, C, D> BaseMvRxViewModel<S>.selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, deliveryMode: DeliveryMode = RedeliverOnStart, subscriber: (A, B, C, D) -> Unit): Disposable
open fun <S : MvRxState, A, B, C, D, E> BaseMvRxViewModel<S>.selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, prop5: KProperty1<S, E>, deliveryMode: DeliveryMode = RedeliverOnStart, subscriber: (A, B, C, D, E) -> Unit): Disposable
open fun <S : MvRxState, A, B, C, D, E, F> BaseMvRxViewModel<S>.selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, prop5: KProperty1<S, E>, prop6: KProperty1<S, F>, deliveryMode: DeliveryMode = RedeliverOnStart, subscriber: (A, B, C, D, E, F) -> Unit): Disposable
open fun <S : MvRxState, A, B, C, D, E, F, G> BaseMvRxViewModel<S>.selectSubscribe(prop1: KProperty1<S, A>, prop2: KProperty1<S, B>, prop3: KProperty1<S, C>, prop4: KProperty1<S, D>, prop5: KProperty1<S, E>, prop6: KProperty1<S, F>, prop7: KProperty1<S, G>, deliveryMode: DeliveryMode = RedeliverOnStart, subscriber: (A, B, C, D, E, F, G) -> Unit): Disposable
open fun <S : MvRxState> BaseMvRxViewModel<S>.subscribe(deliveryMode: DeliveryMode = RedeliverOnStart, subscriber: (S) -> Unit): Disposable
package com.airbnb.mvrx.rxjava2