ScrollGalleryView icon indicating copy to clipboard operation
ScrollGalleryView copied to clipboard

Make Scroll Gallery View Dynamically -> here is the answer

Open mrnirva opened this issue 4 years ago • 2 comments
trafficstars

List<MediaInfo> dynamicMediaList= new ArrayList<>();

for (String path : imagePath){

      dynamicMediaList.add(MediaInfo.mediaLoader(new PicassoImageLoader(path)));

}

ScrollGalleryView.from(findViewById(R.id.scroll_gallery_view))
               .settings(
                        GallerySettings
                                .from(getSupportFragmentManager())
                                .thumbnailSize(200)
                                .enableZoom(true)
                                .build()
                )
                .add(dynamicMediaList)
                .build();

mrnirva avatar Mar 04 '21 15:03 mrnirva

Hi @MrNirva . Can you please provide more details to what you suggest to add to the library?

VEINHORN avatar Mar 05 '21 09:03 VEINHORN

@VEINHORN Hello, those who use this library usually aim to add multiple images, if you specify this in the readme file, it will be useful to many people. 😇

mrnirva avatar Mar 05 '21 10:03 mrnirva