Loading core/java/android/widget/RemoteViewsService.java +5 −2 Original line number Original line Diff line number Diff line Loading @@ -45,6 +45,7 @@ public abstract class RemoteViewsService extends Service { * for each item in the data set. * for each item in the data set. * * * @see android.widget.Adapter * @see android.widget.Adapter * @see android.appwidget.AppWidgetManager */ */ public interface RemoteViewsFactory { public interface RemoteViewsFactory { /** /** Loading @@ -53,8 +54,10 @@ public abstract class RemoteViewsService extends Service { */ */ public void onCreate(); public void onCreate(); /** /** * Called upon {@link AppWidgetManager#notifyAppWidgetViewDataChanged} to allow a factory * Called when notifyDataSetChanged() is triggered on the remote adapter. This allows a * implementation to respond to data changes by updating any internal references. * RemoteViewsFactory to respond to data changes by updating any internal references. * * @see android.appwidget.AppWidgetManager#notifyAppWidgetViewDataChanged(int[], int) */ */ public void onDataSetChanged(); public void onDataSetChanged(); /** /** Loading Loading
core/java/android/widget/RemoteViewsService.java +5 −2 Original line number Original line Diff line number Diff line Loading @@ -45,6 +45,7 @@ public abstract class RemoteViewsService extends Service { * for each item in the data set. * for each item in the data set. * * * @see android.widget.Adapter * @see android.widget.Adapter * @see android.appwidget.AppWidgetManager */ */ public interface RemoteViewsFactory { public interface RemoteViewsFactory { /** /** Loading @@ -53,8 +54,10 @@ public abstract class RemoteViewsService extends Service { */ */ public void onCreate(); public void onCreate(); /** /** * Called upon {@link AppWidgetManager#notifyAppWidgetViewDataChanged} to allow a factory * Called when notifyDataSetChanged() is triggered on the remote adapter. This allows a * implementation to respond to data changes by updating any internal references. * RemoteViewsFactory to respond to data changes by updating any internal references. * * @see android.appwidget.AppWidgetManager#notifyAppWidgetViewDataChanged(int[], int) */ */ public void onDataSetChanged(); public void onDataSetChanged(); /** /** Loading