| Modifier and Type | Class and Description |
|---|---|
static class |
LayoutInflater.LayoutInflaterCreator |
static interface |
LayoutInflater.OnInitInflaterListener |
| Modifier | Constructor and Description |
|---|---|
protected |
LayoutInflater(android.content.Context context) |
protected |
LayoutInflater(android.view.LayoutInflater original,
android.content.Context newContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFactory(android.view.LayoutInflater.Factory factory) |
void |
addFactory(android.view.LayoutInflater.Factory factory,
int index) |
static void |
clearInstances() |
LayoutInflater |
cloneInContext(android.content.Context newContext) |
static LayoutInflater |
from(android.content.Context context) |
static LayoutInflater |
from(android.view.LayoutInflater inflater) |
static LayoutInflater |
from(android.view.View view) |
static android.view.View |
inflate(android.content.Context context,
int resource) |
static android.view.View |
inflate(android.content.Context context,
int resource,
android.view.ViewGroup root) |
static android.view.View |
inflate(android.content.Context context,
int resource,
android.view.ViewGroup root,
boolean attachToRoot) |
android.view.View |
inflate(int resource) |
android.view.View |
inflate(int resource,
android.view.ViewGroup root) |
android.view.View |
inflate(int resource,
android.view.ViewGroup root,
boolean attachToRoot) |
static android.view.View |
inflate(android.view.View view,
int resource) |
static android.view.View |
inflate(android.view.View view,
int resource,
android.view.ViewGroup root) |
static android.view.View |
inflate(android.view.View view,
int resource,
android.view.ViewGroup root,
boolean attachToRoot) |
android.view.View |
inflate(org.xmlpull.v1.XmlPullParser parser,
android.view.ViewGroup root) |
android.view.View |
inflate(org.xmlpull.v1.XmlPullParser parser,
android.view.ViewGroup root,
boolean attachToRoot) |
protected android.view.View |
onCreateView(String name,
android.util.AttributeSet attrs) |
android.view.View |
onCreateView(String name,
android.content.Context context,
android.util.AttributeSet attrs) |
static void |
onDestroy(android.content.Context context) |
static void |
remap(Class<? extends android.view.View>... classes) |
static void |
remap(Class<? extends android.view.View> clazz) |
static void |
remap(String prefix,
String... classess)
Deprecated.
|
static void |
remapHard(String from,
String to) |
void |
setFactory(android.view.LayoutInflater.Factory factory) |
static void |
setOnInitInflaterListener(LayoutInflater.OnInitInflaterListener listener) |
protected android.view.View |
tryCreateView(String name,
String prefix,
android.util.AttributeSet attrs) |
protected LayoutInflater(android.view.LayoutInflater original,
android.content.Context newContext)
protected LayoutInflater(android.content.Context context)
public static void clearInstances()
public static LayoutInflater from(android.view.LayoutInflater inflater)
public static LayoutInflater from(android.content.Context context)
public static LayoutInflater from(android.view.View view)
public static android.view.View inflate(android.content.Context context,
int resource)
public static android.view.View inflate(android.content.Context context,
int resource,
android.view.ViewGroup root)
public static android.view.View inflate(android.content.Context context,
int resource,
android.view.ViewGroup root,
boolean attachToRoot)
public static android.view.View inflate(android.view.View view,
int resource)
public static android.view.View inflate(android.view.View view,
int resource,
android.view.ViewGroup root)
public static android.view.View inflate(android.view.View view,
int resource,
android.view.ViewGroup root,
boolean attachToRoot)
public static void onDestroy(android.content.Context context)
public static void remap(Class<? extends android.view.View>... classes)
public static void remap(Class<? extends android.view.View> clazz)
@Deprecated public static void remap(String prefix, String... classess)
public static void setOnInitInflaterListener(LayoutInflater.OnInitInflaterListener listener)
public void addFactory(android.view.LayoutInflater.Factory factory)
public void addFactory(android.view.LayoutInflater.Factory factory,
int index)
public LayoutInflater cloneInContext(android.content.Context newContext)
cloneInContext in class android.view.LayoutInflaterpublic android.view.View inflate(int resource)
public android.view.View inflate(int resource,
android.view.ViewGroup root)
inflate in class android.view.LayoutInflaterpublic android.view.View inflate(int resource,
android.view.ViewGroup root,
boolean attachToRoot)
inflate in class android.view.LayoutInflaterpublic android.view.View inflate(org.xmlpull.v1.XmlPullParser parser,
android.view.ViewGroup root)
inflate in class android.view.LayoutInflaterpublic android.view.View inflate(org.xmlpull.v1.XmlPullParser parser,
android.view.ViewGroup root,
boolean attachToRoot)
inflate in class android.view.LayoutInflaterprotected android.view.View onCreateView(String name, android.util.AttributeSet attrs) throws ClassNotFoundException
onCreateView in class android.view.LayoutInflaterClassNotFoundExceptionpublic android.view.View onCreateView(String name, android.content.Context context, android.util.AttributeSet attrs)
onCreateView in interface android.view.LayoutInflater.Factorypublic void setFactory(android.view.LayoutInflater.Factory factory)
setFactory in class android.view.LayoutInflaterCopyright © 2012-2013. All Rights Reserved.