onCreateView

open fun onCreateView(    @NonNull context: Context,     @NonNull inflater: LayoutInflater,     @NonNull parent: ViewGroup,     @Nullable args: Bundle): View

Called after the component was created to make views.

If this function is used override, getRootView must also be override.

Return

Return the View for the UI. since 3.0.0

Parameters

context

The Context this component is currently associated with

inflater

The LayoutInflater object that can be used to inflate any views in the component

parent

The ViewGroup into which the new View will be added

args

The arguments supplied when the component was instantiated, if any