public static interface LayoutInflater.Factory2 extends LayoutInflater.Factory
Modifier and Type | Method and Description |
---|---|
View |
onCreateView(View parent,
String name,
Context context,
AttributeSet attrs)
Version of
LayoutInflater.Factory.onCreateView(String, Context, AttributeSet)
that also supplies the parent that the view created view will be
placed in. |
onCreateView
View onCreateView(View parent, String name, Context context, AttributeSet attrs)
LayoutInflater.Factory.onCreateView(String, Context, AttributeSet)
that also supplies the parent that the view created view will be
placed in.parent
- The parent that the created view will be placed
in; note that this may be null.name
- Tag name to be inflated.context
- The context the view is being created in.attrs
- Inflation attributes as specified in XML file.