Loading

class Loading<T>(data: T? = null) : Resource<T>

Represents the loading state of a resource.

Parameters

data

The data associated with the loading state.

Constructors

Link copied to clipboard
constructor(data: T? = null)

Properties

Link copied to clipboard
val data: T?

The actual data.

Link copied to clipboard

A message associated with the resource, usually describing an error.