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

我的未来我决定 提交于 2019-12-12 02:39:55

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!