Package org.robolectric.shadows
Class ShadowAppWidgetHost
java.lang.Object
org.robolectric.shadows.ShadowAppWidgetHost
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected void__constructor__(Context context, int hostId) protected intprotected AppWidgetHostViewcreateView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget) intbooleanReturns true if this host is listening for updates.voidsetAppWidgetIdToAllocate(int idToAllocate) protected voidprotected void 
- 
Constructor Details
- 
ShadowAppWidgetHost
public ShadowAppWidgetHost() 
 - 
 - 
Method Details
- 
__constructor__
 - 
getContext
 - 
getHostId
public int getHostId() - 
setAppWidgetIdToAllocate
public void setAppWidgetIdToAllocate(int idToAllocate)  - 
isListening
public boolean isListening()Returns true if this host is listening for updates. - 
allocateAppWidgetId
 - 
createView
@Implementation protected AppWidgetHostView createView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget)  - 
startListening
 - 
stopListening
 
 -