LayoutInflaterCompat
class LayoutInflaterCompat
Helper for accessing features in LayoutInflater
.
Summary
Public functions |
|
---|---|
java-static LayoutInflaterFactory! |
This function is deprecated. Use |
java-static Unit |
This function is deprecated. Use |
java-static Unit |
setFactory2(inflater: LayoutInflater, factory: LayoutInflater.Factory2) Attach a custom |
Public functions
java-static fungetFactory(inflater: LayoutInflater!): LayoutInflaterFactory!
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).
Returns | |
---|---|
LayoutInflaterFactory! |
The |
See also | |
---|---|
getFactory |
java-static funsetFactory(inflater: LayoutInflater, factory: LayoutInflaterFactory): Unit
Attach a custom Factory interface for creating views while using this LayoutInflater. This must not be null, and can only be set once; after setting, you can not change the factory.
See also | |
---|---|
setFactory |
setFactory2
java-static fun setFactory2(inflater: LayoutInflater, factory: LayoutInflater.Factory2): Unit
Attach a custom LayoutInflater.Factory2
for creating views while using this LayoutInflater
. This must not be null, and can only be set once; after setting, you can not change the factory.
See also | |
---|---|
setFactory2 |