ContentLoader

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val mainScope: <Error class: unknown class>
Link copied to clipboard
var network: NetworkInterface?

Functions

Link copied to clipboard
Link copied to clipboard
fun getContentFromJsonUrl(jsonUrl: String, onSuccess: (contentItem: ContentItemInterface) -> Unit, onFailure: (<Error class: unknown class>) -> Unit)
Link copied to clipboard
fun getJsonStringFromUrl(jsonUrl: String, onSuccess: (jsonString: String) -> Unit, onFailure: (<Error class: unknown class>) -> Unit)
Link copied to clipboard
inline fun <T> getObjectFromJsonUrl(jsonUrl: String, crossinline onSuccess: (retObject: T) -> Unit, crossinline onFailure: (<Error class: unknown class>) -> Unit)