Closed sumit-kmr closed 4 years ago
You can add ViewListener
inside of ImageListener
and can use custom view like this
var viewListener:ViewListener = object :ViewListener{
override fun setViewForPosition(position: Int): View {
val view = layoutInflater.inflate(R.layout.item_slider, null)
view.ivSlider.setImageResource(sampleImages[position])
return view
}
}
Is there any way to round the corners of the whole carouselview?