Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个与适配器相结合的列表视图。在我的列表视图中,我有多个包含多个元素的元素。如何检测列表项中点击了什么?我在适配器中的每个按钮上都使用了 onclicklistener,但是没有更好的方法可以使除按钮或其他东西之外的所有内容都无法点击吗?
提前致谢