LFilePicker
LFilePicker copied to clipboard
扩展名withFileFilter筛选bug
.withFileFilter(new String[]{".bin"}) 实际文件为demo.Bin就不显示,大小写不识别。 改为.withFileFilter(new String[]{".bin",".Bin",".bIn",".biN",".BIn",".bIN",".BiN",".BIN"}) 也不能识别,不知道什么原因。
在LFileFilter类,代码是这样比较的 if (file.getName().endsWith(mTypes[i].toLowerCase()) || file.getName().endsWith(mTypes[i].toUpperCase())) 自己重写个过滤比较的判断吧,另外要注意设置是否过滤了文件大小,小于设定的值文件就不会展示