org.robolectric.shadows
Class ShadowLayoutInflater
java.lang.Object
org.robolectric.shadows.ShadowLayoutInflater
@Implements(value=android.view.LayoutInflater.class)
public class ShadowLayoutInflater
- extends Object
Shadow of LayoutInflater
that actually inflates layouts into View
s that are functional enough to
support testing.
Method Summary |
void |
__constructor__(android.content.Context context)
|
static android.view.LayoutInflater |
from(android.content.Context context)
|
android.content.Context |
getContext()
|
android.view.View |
inflate(int resource,
android.view.ViewGroup root)
|
android.view.View |
inflate(int resource,
android.view.ViewGroup root,
boolean attachToRoot)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShadowLayoutInflater
public ShadowLayoutInflater()
from
@Implementation
public static android.view.LayoutInflater from(android.content.Context context)
__constructor__
public void __constructor__(android.content.Context context)
getContext
@Implementation
public android.content.Context getContext()
inflate
@Implementation
public android.view.View inflate(int resource,
android.view.ViewGroup root,
boolean attachToRoot)
inflate
@Implementation
public android.view.View inflate(int resource,
android.view.ViewGroup root)
Copyright © 2013. All Rights Reserved.