Slide Complete listener assistance
akshay-nayak opened this issue · 2 comments
akshay-nayak commented
How do i implement slide complete listener in kotlin ? it just doesnt seem to work
val sta = root.findViewById<SlideToActView>(R.id.slider_markattendance)
sta.OnSlideCompleteListener {
override fun onSlideComplete(@NonNull view: SlideToActView) {
}
})
cortinico commented
You can do it in this way:
sta = object : OnSlideCompleteListener {
override fun onSlideComplete(view: SlideToActView) {
TODO("Not yet implemented")
}
}
akshay-nayak commented
Thanks mate ,nice library , you should add the solution in the description
as it can help kotlin begginers
…On Fri, Jan 29, 2021, 6:03 PM Nicola Corti ***@***.***> wrote:
Closed #149 <#149>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#149 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACMQBNKTYOSM37UPFWUFMQDS4KTIXANCNFSM4WYULSEA>
.