FileDocCategorySizeDatePackage
LauncherAppWidgetHost.javaAPI DocAndroid 1.5 API1394Wed May 06 22:42:46 BST 2009com.android.launcher

LauncherAppWidgetHost

public class LauncherAppWidgetHost extends android.appwidget.AppWidgetHost
Specific {@link AppWidgetHost} that creates our {@link LauncherAppWidgetHostView} which correctly captures all long-press events. This ensures that users can always pick up and move widgets.

Fields Summary
Constructors Summary
public LauncherAppWidgetHost(android.content.Context context, int hostId)

        super(context, hostId);
    
Methods Summary
protected android.appwidget.AppWidgetHostViewonCreateView(android.content.Context context, int appWidgetId, android.appwidget.AppWidgetProviderInfo appWidget)

        return new LauncherAppWidgetHostView(context);