belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
LayoutInflaterCompat
public
final
class
LayoutInflaterCompat
extends Object
java.lang.Object | |
↳ | android.support.v4.view.LayoutInflaterCompat |
Helper for accessing features in LayoutInflater
.
Summary
Public methods | |
---|---|
static
LayoutInflaterFactory
|
getFactory(LayoutInflater inflater)
This method was deprecated
in API level 26.1.0.
Use |
static
void
|
setFactory(LayoutInflater inflater, LayoutInflaterFactory factory)
This method was deprecated
in API level 26.1.0.
Use |
static
void
|
setFactory2(LayoutInflater inflater, LayoutInflater.Factory2 factory)
Attach a custom |
Inherited methods | |
---|---|
![]()
java.lang.Object
|
Public methods
getFactory
LayoutInflaterFactory getFactory (LayoutInflater inflater)
This method was deprecated
in API level 26.1.0.
Use setFactory2(LayoutInflater, LayoutInflater.Factory2)
to set and
getFactory2()
to get the factory.
Return the current LayoutInflaterFactory
(or null). This is
called on each element name. If the factory returns a View, add that
to the hierarchy. If it returns null, proceed to call onCreateView(name).
Parameters | |
---|---|
inflater |
LayoutInflater |
Returns | |
---|---|
LayoutInflaterFactory |
The LayoutInflaterFactory associated with the
LayoutInflater . Will be null if the inflater does not
have a LayoutInflaterFactory but a raw LayoutInflater.Factory . |
See also: