Package com.getsensibill.core.common.dataprovider
Types
BaseDataProvider
Link copied to clipboard
abstract class BaseDataProvider
Content copied to clipboard
DataProviderLiveRequest
Link copied to clipboard
DataProviderResponse
Link copied to clipboard
DebugError
Link copied to clipboard
GenericDataProviderResponseHandler
Link copied to clipboard
class GenericDataProviderResponseHandler
Content copied to clipboard
Http400Error
Link copied to clipboard
Http401Error
Link copied to clipboard
Unauthorized - please check to make sure you're providing a valid access token when requested with the com.getsensibill.tokenprovider.TokenProvider that you're providing to the SDK
Http403Error
Link copied to clipboard
Http404Error
Link copied to clipboard
Http500Error
Link copied to clipboard
InternalRequestError
Link copied to clipboard
MalformedResponse
Link copied to clipboard
MissingResponse
Link copied to clipboard
RequestError
Link copied to clipboard
RequestTimeoutError
Link copied to clipboard
TransformationFailure
Link copied to clipboard
UnknownError
Link copied to clipboard
UnknownExternalError
Link copied to clipboard
class UnknownExternalError(extraInformation: String?, message: String, cause: Throwable?, response: Response<*>?) : RequestError
Content copied to clipboard
An alternative to UnknownError which can be created outside of this module
Functions
dataProviderRequestAsLiveData
Link copied to clipboard
fun <T> CoroutineScope.dataProviderRequestAsLiveData(request: suspend () -> DataProviderResponse<T>): LiveData<DataProviderLiveRequest<T>>
Content copied to clipboard
suspend fun <T> dataProviderRequestAsLiveData(liveData: MutableLiveData<DataProviderLiveRequest<T>>, request: suspend () -> DataProviderResponse<T>)
Content copied to clipboard