jaiselrahman / FilePicker

FilePicker library for Android
Apache License 2.0
238 stars 70 forks source link

Performances fixes #64

Open iskugor opened 4 years ago

iskugor commented 4 years ago

The problem is ".nomedia" file is being search through many directories, this solution caches directories that has been already checked.

Description

The solution uses HashSet to cache directories which has been traversed already.

Motivation and Context

https://github.com/jaiselrahman/FilePicker/issues/57

How Has This Been Tested?

Tested on Samsung S10 with a lot of images and other files

Screenshots (if appropriate):

Types of changes

Checklist: