Skip to content

Instantly share code, notes, and snippets.

@the-dagger
Created July 29, 2016 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save the-dagger/0c7549f18b526d16a9bed1e53c674e74 to your computer and use it in GitHub Desktop.
Save the-dagger/0c7549f18b526d16a9bed1e53c674e74 to your computer and use it in GitHub Desktop.
import android.content.Intent;
import android.widget.RemoteViewsService;
/**
* Created by the-dagger on 24/7/16.
*/
public class StockWidgetService extends RemoteViewsService {
@Override
public RemoteViewsFactory onGetViewFactory(Intent intent) {
return new WidgetDataProvider(this,intent);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment