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.
我正在尝试进行 6ListView合一活动。没有两个同时可见。在选择第一个列表时,我想确保View它是可见的。那么我如何知道哪个ListView是可见的,以便我可以处理它。有什么办法知道吗?
ListView
View
mListview.isShown();
如果视图可见性设置为 View.VISIBLE,则将返回布尔值 y/n