android.view
Class ViewInflate
java.lang.Object
android.view.ViewInflate
- Direct Known Subclasses:
- PhoneViewInflate
public abstract class ViewInflate
- extends Object
|
Method Summary |
abstract ViewInflate |
cloneInContext(Context context)
|
View |
createView(String name,
String prefix,
AttributeSet attrs,
Map inflateParams)
|
static ViewInflate |
from(Context context)
|
Context |
getContext()
|
ViewInflate.Factory |
getFactory()
|
View |
inflate(int resource,
ViewGroup root,
boolean attachToRoot,
Map inflateParams)
|
View |
inflate(int resource,
ViewGroup root,
Map inflateParams)
|
View |
inflate(XmlPullParser parser,
ViewGroup root,
boolean attachToRoot,
Map inflateParams)
|
View |
inflate(XmlPullParser parser,
ViewGroup root,
Map inflateParams)
|
protected View |
onCreateView(String name,
AttributeSet attrs,
Map inflateParams)
|
void |
setFactory(ViewInflate.Factory factory)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mContext
protected final Context mContext
ViewInflate
protected ViewInflate(Context context)
ViewInflate
protected ViewInflate(ViewInflate original,
Context newContext)
from
public static ViewInflate from(Context context)
cloneInContext
public abstract ViewInflate cloneInContext(Context context)
getContext
public Context getContext()
getFactory
public final ViewInflate.Factory getFactory()
setFactory
public void setFactory(ViewInflate.Factory factory)
inflate
public View inflate(int resource,
ViewGroup root,
Map inflateParams)
inflate
public View inflate(XmlPullParser parser,
ViewGroup root,
Map inflateParams)
inflate
public View inflate(int resource,
ViewGroup root,
boolean attachToRoot,
Map inflateParams)
inflate
public View inflate(XmlPullParser parser,
ViewGroup root,
boolean attachToRoot,
Map inflateParams)
createView
public final View createView(String name,
String prefix,
AttributeSet attrs,
Map inflateParams)
throws ClassNotFoundException,
ViewInflate.InflateException
- Throws:
ClassNotFoundException
ViewInflate.InflateException
onCreateView
protected View onCreateView(String name,
AttributeSet attrs,
Map inflateParams)
throws ClassNotFoundException
- Throws:
ClassNotFoundException
Please submit a feedback, bug or feature