如何翻转屏幕不点击ListView中的项目 [英] How to flip the screen without clicking the item in the listView

查看:175
本文介绍了如何翻转屏幕不点击ListView中的项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 ViewFlipper 两种观点。其中一个观点包含了一个的ListView OnClickListener 。在 ViewFlipper 工作正常空白意见。

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

然而,当我穿上的ListView ,并尝试将当前视图翻转到下一个视图,列表视图项被点击,我不想翻转过程中。

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?

推荐答案

下面退房的解决方案在这个岗位SO ViewFlipper不翻转孩子的ListView &安培; 列表视图内刷卡 viewflipper

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

这篇关于如何翻转屏幕不点击ListView中的项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆