DropDragBubbleView.attach(/*You attach view*/button, object : OnDropDragBubbleListener {
override fun onDismiss(view: View) {
//Do something
}
override fun onSpringBack(view: View) {
//Do something
}
})