Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Scroll Gallery View Dynamically -> here is the answer #96

Open
mrnirva opened this issue Mar 4, 2021 · 2 comments
Open

Make Scroll Gallery View Dynamically -> here is the answer #96

mrnirva opened this issue Mar 4, 2021 · 2 comments

Comments

@mrnirva
Copy link

mrnirva commented Mar 4, 2021

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();
@VEINHORN
Copy link
Owner

VEINHORN commented Mar 5, 2021

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

@mrnirva
Copy link
Author

mrnirva commented Mar 5, 2021

@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. 😇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants