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

crash #103

Open
pmrzygweb opened this issue Nov 17, 2021 · 1 comment
Open

crash #103

pmrzygweb opened this issue Nov 17, 2021 · 1 comment

Comments

@pmrzygweb
Copy link

Unable to start activity java.lang.IllegalArgumentException: width and height must be > 0

val galleryView = ScrollGalleryView.from(findViewById(R.id.galleryView))
            .settings(GallerySettings.from(supportFragmentManager).enableZoom(true).build())
            .add(medias)
            .build()
@Endi327
Copy link

Endi327 commented Nov 16, 2022

@pmrzygweb You missed setThumbnailSize(). If you add that, it'll work.

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