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): HeaderComponent.Params
Apply data that matches keys mapped to Params' properties.
Link copied to clipboard
open fun setUseLeftButton(useLeftButton: Boolean)
Sets whether the left button of the header is used.
Link copied to clipboard
open fun setUseRightButton(useRightButton: Boolean)
Sets whether the right button of the header is used.
Link copied to clipboard
Returns whether the left button of the header is used.
Link copied to clipboard
Returns whether the right button of the header is used.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard