janjanmedinaaa / floating-bubble

0 stars 0 forks source link

How to set an OnClick Listener on the Bubble #2

Open farsuller opened 3 years ago

farsuller commented 3 years ago

I tried on my end but still grasping how to implement OnClick Listener on the Bubble

janjanmedinaaa commented 3 years ago

Hi, you just need to implement the FloatingBubbleActionListener interface and set it to the FloatingBubbleConfig.Builder using the .onActionListener() method. Hope this helps!