Build m5-rc15

android.view
Class ViewInflate

java.lang.Object
  extended by android.view.ViewInflate
Direct Known Subclasses:
PhoneViewInflate

public abstract class ViewInflate
extends Object


Nested Class Summary
static interface ViewInflate.Factory
           
static class ViewInflate.InflateException
           
 
Field Summary
protected  Context mContext
           
 
Constructor Summary
protected ViewInflate(Context context)
           
protected ViewInflate(ViewInflate original, Context newContext)
           
 
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
 

Field Detail

mContext

protected final Context mContext
Constructor Detail

ViewInflate

protected ViewInflate(Context context)

ViewInflate

protected ViewInflate(ViewInflate original,
                      Context newContext)
Method Detail

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

Build m5-rc15

Please submit a feedback, bug or feature