Package app. futured. arkitekt. core. livedata
Types
DefaultValueLiveData
Link copied to clipboard
class DefaultValueLiveData<T : Any>(defaultValue: T) : MutableLiveData<T>
Content copied to clipboard
Extended LiveData class with default value.
DefaultValueMediatorLiveData
Link copied to clipboard
class DefaultValueMediatorLiveData<T : Any>(defaultValue: T) : MediatorLiveData<T>
Content copied to clipboard
Extended MediatorLiveData class with default value.
NonNullLiveData
Link copied to clipboard
UiDataMediator
Link copied to clipboard
Functions
combineLiveData
Link copied to clipboard
fun <T1, T2, RESULT> combineLiveData(t1: LiveData<T1>, t2: LiveData<T2>, callback: (T1, T2) -> RESULT): LiveData<RESULT>
Content copied to clipboard
fun <T1, T2, T3, RESULT> combineLiveData(t1: LiveData<T1>, t2: LiveData<T2>, t3: LiveData<T3>, callback: (T1, T2, T3) -> RESULT): LiveData<RESULT>
Content copied to clipboard
fun <T1, T2, T3, T4, RESULT> combineLiveData(t1: LiveData<T1>, t2: LiveData<T2>, t3: LiveData<T3>, t4: LiveData<T4>, callback: (T1, T2, T3, T4) -> RESULT): LiveData<RESULT>
Content copied to clipboard
fun <T1, T2, T3, T4, T5, RESULT> combineLiveData(t1: LiveData<T1>, t2: LiveData<T2>, t3: LiveData<T3>, t4: LiveData<T4>, t5: LiveData<T5>, callback: (T1, T2, T3, T4, T5) -> RESULT): LiveData<RESULT>
Content copied to clipboard
observeNonNull
Link copied to clipboard
fun <T> LiveData<T>.observeNonNull(lifecycleOwner: LifecycleOwner, callback: (T) -> Unit)
Content copied to clipboard
uiData
Link copied to clipboard