onLongClick

open fun onLongClick(position: Int, carouselItem: CarouselItem)

When an item view is long clicked it will be invoked.

Note: It will not work for the custom layout.

Parameters

position

Data item position.

carouselItem

Data item of the long clicked view.