cortinico/slidetoact

Unable to use OnCompleteListener in Kotlin

Karanahir opened this issue · 1 comments

Hello,
Can someone please help me with how I can use onCompleteListener in Kotlin?

Thanks.

Found It.
For anyone still facing this issue.

binding.start.onSlideCompleteListener=object : SlideToActView.OnSlideCompleteListener{
override fun onSlideComplete(view: SlideToActView) {
binding.start.resetSlider();
}
}