ScrollGalleryView icon indicating copy to clipboard operation
ScrollGalleryView copied to clipboard

crash

Open pmrzygweb opened this issue 3 years ago • 1 comments

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()

pmrzygweb avatar Nov 17 '21 03:11 pmrzygweb

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

Endi327 avatar Nov 16 '22 13:11 Endi327