Callback

interface Callback<T>

Functions

onError
Link copied to clipboard
abstract fun onError(exception: <ERROR CLASS>)
onResponse
Link copied to clipboard
abstract fun onResponse(call: T, response: <ERROR CLASS>)