Hi and thanks for the great code samples.
I'll admit as a beginner this has been pretty vague, but I have
managed to implement my own scrollable widget.
The only question or should I say problem I have is :
How do you requery your dataprovider so that the listview will be
rebuilt with the new data? i.e. onclick of a button?
I have tried recalling the ListeViewManager.onAppWidgetReady() method
which creates the ACTION_SCROLL_WIDGET_START but I never see the
DataProvider queried again.
I have set my ACTION_SCROLL_WIDGET_START intent Extras to allow
requerying since the cursor I'm returning is an SQLDatabase cursor, as
per the LauncherIntent.java class commenting.
/**
* Allow or not contentProvider requery
* - disable requery for simple MatrixCursor (not handled
by Android)
* - enable requery for SQL database Cursor
*/
public static final String
EXTRA_DATA_PROVIDER_ALLOW_REQUERY = PNAME
+ "EXTRA_DATA_PROVIDER_ALLOW_REQUERY";
So I'm at a loss :(