I'm writing flippable app widget and I run in the problem described below while trying to navigate the views.
The widget is simply a ViewFlipper with two buttons that when clicked should navigate through the child views of the ViewFlipper.
I just answered a similar question for API 11+ however this solution will only work in Honeycomb since prior to that RemoteViews#showNext|showPrevious
did not exist. I tried to do root.setInt(R.id.scroll, "setDisplayedChild", pos)
but that generated android.widget.ViewFlipper can't use method with RemoteViews: setDisplayedChild(int)
exception.
So now I have a properly populated ViewFlipper
in my widget and I can't flip through views. I would really appreciate help with this
You cannot use ViewFlipper
in an app widget prior to API Level 11.