onCreateView

public abstract View onCreateView(Context context, LayoutInflater inflater, Bundle args)

Called after creating the module to create a view for use in a fragment or activity. In this method, the module uses components that belong to the component to build the view.

Return

Returns the view of the UI.

Parameters

context

The context

inflater

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

args

Arguments provided when instantiating the module (optional)