且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从SD卡中的文件夹paticular删除特定文件列表视图上的复选框单击时

更新时间:2023-09-28 09:29:04

在获取视图,把第一个参数位置决赛。然后,你就可以从OnCheckListener得到它。然后,你可以在某些列表保存。并单击按钮时,通过列表循环和删除文件。

In get view, put the first param position as final. Then you will be able to get it from the OnCheckListener. Then, you can save it in some list. And when the button is clicked, loop through the list and delete files.