Package app. futured. arkitekt. crusecases
Types
BaseCrViewModel
Link copied to clipboard
abstract class BaseCrViewModel<S : ViewState> : BaseViewModel<S> , CoroutineScopeOwner
Content copied to clipboard
Base ViewModel class prepared for providing data to UI through LiveData and obtaining data from Stores (Repositories) by executing Coroutine based use cases like UseCase and FlowUseCase.
CoroutineScopeOwner
Link copied to clipboard
interface CoroutineScopeOwner
Content copied to clipboard
FlowUseCase
Link copied to clipboard
UseCase
Link copied to clipboard
Base Coroutine use case meant to use in CoroutineScopeOwner implementations
Functions
fold
Link copied to clipboard
getOrCancel
Link copied to clipboard
Returns the encapsulated value if this instance represents Success or throws CancellationException with Error.error as its cause if it is Error.
getOrDefault
Link copied to clipboard
getOrThrow
Link copied to clipboard
map
Link copied to clipboard
mapCatching
Link copied to clipboard
recover
Link copied to clipboard
recoverCatching
Link copied to clipboard
tryCatch
Link copied to clipboard