I have a listview in the AppWidget. I would like to have the listview to start at specific position when user adds the listview to the home screen or after refreshing the widget. I tried to use the setScrollPostion, but it doesn't work.
e.g:
RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.my_widget);
......
views.setScrollPosition(R.id.listview_in_widget, 1000); appWidgetManager.updateAppWidget(appWidgetId, views);
The widget is still showing the first item.
I would appreciate it if anyone can give me some hints how to do it?