Search code examples
androidviewflipper

How to flip the screen without clicking the item in the listView


I have two views in my ViewFlipper. One of views contains a ListView with an OnClickListener. The ViewFlipper works fine with blank views.

However, when I put on the ListView and try to flip the current view into the next view, the item on the list view is clicked which I don't want during flipping.

Is there any function I can use to disable the interruption of the child view?


Solution

  • Check out the Solutions here in this SO posts ViewFlipper not flipping with child listview & Listview Swipe inside viewflipper