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.
单击下一个按钮时,列表应突出显示/选择列表视图中的下一个项目。我如何在不直接在屏幕上实际触摸列表项的情况下实现它?
ListView.setSelection(int pos)将帮助您实现这一目标。
在下一次单击时,您可以更改相应项目的背景并存储位置以供进一步工作。这将作为选定项目