apply

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

Apply data that matches keys mapped to Params' properties. To reflect values to the UI, this method must be called before calling onCreateView. KEY_THEME_RES_ID is mapped to themeResIdKEY_USE_HEADER is mapped to setUseHeader.

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.