onCreateView

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

Called after the module was created to make views to use in the Fragment or Activity. In this method, the module is structuring the views using components that belong to components.

Not allowed null value as a return value.

The Context and LayoutInflater have already applied themes set at the Params.

Return

Return the View for the UI. since 3.0.0

Parameters

context

The Context this module is currently associated with

inflater

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

args

The arguments supplied when the module was instantiated, if any