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.
我想添加一个后退Button,当Button单击它时,它ListView会后退一步。目前我在ListView. 我想要的是,每当用户输入一个文件目录时,应该有一个Button包含返回的功能。
Button
ListView
问题解决了。
每当单击列表上的项目时,我都会在静态变量中采用当前路径。然后在返回按钮的 onClick() 事件上调用此路径。