fishwjy / MultiType-FilePicker

This is a light Android file picker library.
Apache License 2.0
1.4k stars 248 forks source link

Newly downloaded files do not visible but after renaming or copy/paste becoming visible. #10

Open yriynexus opened 7 years ago

yriynexus commented 7 years ago

Newly downloaded files do not visible but after renaming or copy/paste becoming visible. Is it possible to fix it? Your work is beautiful, thanks.

typebrook commented 7 years ago

I have the same problem, including files newly generated by APP. Also, thanks your work done! This package have well design!

typebrook commented 7 years ago

@yriynexus @fishwjy

I found why this happened, missing files are not in media database. MediaScannerConnection or android.intent.action.MEDIA_SCANNER_SCAN_FILE are necessary in this case.

https://developer.android.com/reference/android/media/MediaScannerConnection.html

fishwjy commented 6 years ago

Please try 1.0.5.