Params

open class Params

A collection of parameters, which can be applied to a default View. The values of params are not dynamically applied at runtime. Params cannot be created directly, and it is automatically created together when components are created.

Since the onCreateView configuring View uses the values of the set Params, we recommend that you set up for Params before the onCreateView is called.

See also

getParams()

since 3.0.0

Constructors

Link copied to clipboard
protected open fun Params()
Constructor since 3.0.

Functions

Link copied to clipboard
protected open fun apply(@NonNull context: Context, @NonNull args: Bundle): StatusComponent.Params
Apply data that matches keys mapped to Params' properties.

Properties

Link copied to clipboard
open var emptyIcon: Drawable
Link copied to clipboard
open var emptyIconTint: ColorStateList
Link copied to clipboard
open var emptyText: String
Link copied to clipboard
open var errorText: String