sayyam/carouselview

Round corners

VakhrushevVS opened this issue · 1 comments

How can i round corners in corusel view?

I do it, but I have a problem. Space behind round corder paint to black color.
` apartImageSlider.run {

            setViewListener { position ->
                val sliderImage = ShapeableImageView(
                    ContextThemeWrapper(
                        requireContext(),
                        R.style.ImageBottomShape
                    )
                )
                sliderImage.scaleType = ImageView.ScaleType.CENTER_CROP

                sliderImage.loadImage(photos[position].originalUrl)
                sliderImage
            }
            pageCount = photos.size
        }`