ScrollGalleryView
ScrollGalleryView copied to clipboard
Make Scroll Gallery View Dynamically -> here is the answer
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();
Hi @MrNirva . Can you please provide more details to what you suggest to add to the library?
@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. 😇