org.robolectric.shadows
Class ShadowLayoutInflater

java.lang.Object
  extended by org.robolectric.shadows.ShadowLayoutInflater

@Implements(value=android.view.LayoutInflater.class)
public class ShadowLayoutInflater
extends Object

Shadow of LayoutInflater that actually inflates layouts into Views that are functional enough to support testing.


Constructor Summary
ShadowLayoutInflater()
           
 
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
 

Constructor Detail

ShadowLayoutInflater

public ShadowLayoutInflater()
Method Detail

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.