Loading

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

Represents the loading state of a resource.

Parameters

T

The type of data being loaded.

Constructors

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

Properties

Link copied to clipboard
val data: T?

The data associated with the resource, if available.

Link copied to clipboard

A descriptive message associated with the resource, usually for error states.