onCreateView

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

Called after the module is created to build the view for use in a Fragment or Activity.

Return

the created UI view

Parameters

context

context

inflater

the LayoutInflater used to inflate views in the module

container

the parent ViewGroup

args

optional arguments provided when instantiating the module