public List<String> getFilePaths() {
List<String> fileNames = null;
try {
fileNames = Arrays.asList(getAssets().list(""));
} catch (IOException e) {
e.printStackTrace();
}
return fileNames;
}
当我绑定数据时,多出defaultProfile.pro、images、sounds、webkit文件。可在assets文件夹中根本没有这些文件呀。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
人生最曼妙的风景,竟是内心的淡定与从容!