VEINHORN / ScrollGalleryView

:bridge_at_night: Android image gallery with bottom scroll view
MIT License
531 stars 157 forks source link

Images from local file #51

Open tsakmalis opened 7 years ago

tsakmalis commented 7 years ago

I am trying to retrieve some images from a local file of the device (let's say the DCIM/Camera). How can I use:

scrollGalleryView
    .setThumbnailSize(100)
    .setZoom(true)
    .setFragmentManager(getSupportFragmentManager())
    .addMedia(infos);

?

where infos it's a List

yspisgod commented 6 years ago

anyone know it?help

VEINHORN commented 6 years ago

@yspisgod Hi! There was .addImages(File fromDir) method in ScrollGalleryView class which was removed during the library evolution. You can find its code in the following commit f624c6483e84073958a8d8a6c052d5ec6a7c40d3. I hope it will be helpful for you and I'm going to provide a similar functionality in one of the future library versions.

hasnain-ahmad commented 4 years ago

@yspisgod Hi! There was .addImages(File fromDir) method in ScrollGalleryView class which was removed during the library evolution. You can find its code in the following commit f624c64. I hope it will be helpful for you and I'm going to provide a similar functionality in one of the future library versions.

Which library version is capable of loading images from the android storage directory?