问题
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?
回答1:
Check out the Solutions here in this SO posts ViewFlipper not flipping with child listview & Listview Swipe inside viewflipper
来源:https://stackoverflow.com/questions/11271573/how-to-flip-the-screen-without-clicking-the-item-in-the-listview