apply

protected open fun apply(@NonNull context: Context, @NonNull args: Bundle): StateHeaderComponent.Params

Apply data that matches keys mapped to Params' properties.

KEY_USE_HEADER_LEFT_BUTTON is mapped to setUseLeftButtonKEY_USE_HEADER_RIGHT_BUTTON is mapped to setUseRightButtonKEY_HEADER_LEFT_BUTTON_ICON_RES_ID is mapped to setLeftButtonIconKEY_HEADER_LEFT_BUTTON_ICON_TINT is mapped to setLeftButtonIconTintKEY_HEADER_RIGHT_BUTTON_TEXT is mapped to setRightButtonTextKEY_HEADER_TITLE is mapped to setTitle

Return

This Params object that applied with given data. since 3.0.0

Parameters

context

The Context this component is currently associated with

args

The sets of arguments to apply at Params.