Android-Custom-Gallery
Android-Custom-Gallery copied to clipboard
Getting CursorIndexOutOfBoundsException when media file less than 10
@vikas-markk please add details to it with recreation steps else this issue will be closed asap.
Below steps to create above issue.
- Clear gallery media.
- Add 2 or 4 photos set page size to 20.
- Unable to see anything in list, its will throw above exception.
@vikas-markk A fix for this will be up on master in a few days !
Keep watching this repo.
Thanks.
@vikas-markk I just launched both modules on an emulator with empty gallery.
This exception was only logged in rx/flow not thrown.
If you are passing any invalid value as page size then this behaviour may occur.
I don't see any correction to be made in the gallery itself.
If you think there is something wrong with the gallery fetch logic itself please do share debug screenshots or stack traces. else there is not much to go on and close this issue.
Thanks.
@mmobin789 with gallery <20, how can you resolve fetch image with that.
Please test this branch out with the fix fix/6 and update here.
@dangminh589178 @vikas-markk
If it works we can close this issue and I will merge this into master.
Thanks.