LayoutInflater.from(Context)
or Context.getSystemService(String)
with Context.LAYOUT_INFLATER_SERVICE
instead.@Deprecated
public class RoboLayoutInflater
extends android.view.LayoutInflater
Constructor and Description |
---|
RoboLayoutInflater(android.content.Context context)
Deprecated.
Instead of instantiating directly, you should retrieve an instance through
Context.getSystemService(java.lang.String) |
Modifier and Type | Method and Description |
---|---|
android.view.LayoutInflater |
cloneInContext(android.content.Context newContext)
Deprecated.
|
protected android.view.View |
onCreateView(java.lang.String name,
android.util.AttributeSet attrs)
Deprecated.
Override onCreateView to instantiate names that correspond to the widgets known to the Widget factory.
|
public RoboLayoutInflater(android.content.Context context)
Instead of instantiating directly, you should retrieve an instance through Context.getSystemService(java.lang.String)
context
- The Context in which in which to find resources and other application-specific things.Context.getSystemService(java.lang.String)
protected android.view.View onCreateView(java.lang.String name, android.util.AttributeSet attrs) throws java.lang.ClassNotFoundException
Override onCreateView to instantiate names that correspond to the widgets known to the Widget factory. If we don’t find a match, call through to our super class.
onCreateView
in class android.view.LayoutInflater
java.lang.ClassNotFoundException
public android.view.LayoutInflater cloneInContext(android.content.Context newContext)
cloneInContext
in class android.view.LayoutInflater