Package com.arcxp.commons.util

Types

Link copied to clipboard
class AnalyticsUtil(val application: Application)
Link copied to clipboard
object ConnectionUtil
Link copied to clipboard
sealed class Either<out L, out R>

Wrapper class for linearly passing failure or success responses

Link copied to clipboard
data class Failure<out L>(val failure: L) : Either<L, Nothing>
Link copied to clipboard
object MoshiController
Link copied to clipboard
data class Success<out R>(val success: R) : Either<Nothing, R>
Link copied to clipboard
object Utils

Functions

Link copied to clipboard
fun handleFailure(failure: Any?): String

handle error data presenting