Back to project page RssReader.
The source code is released under:
MIT License
If you think the Android project RssReader listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.vicmns.rssreader.widget; /*w ww . j av a 2s . c o m*/ import android.appwidget.AppWidgetManager; import android.content.Intent; import android.util.Log; import android.widget.RemoteViewsService; public class WidgetService extends RemoteViewsService { @Override public RemoteViewsFactory onGetViewFactory(Intent intent) { int appWidgetId = intent.getBundleExtra("AdapterBundle").getInt( AppWidgetManager.EXTRA_APPWIDGET_ID, AppWidgetManager.INVALID_APPWIDGET_ID); return (new WidgetListProvider(this.getApplicationContext(), intent)); } }