ECLaboratorio / BubbleShowCase-Android

BubbleShowCase is a framework that let you to use informative bubbles to help your users pointing out different App features.
MIT License
595 stars 87 forks source link

No way to dismiss sequence on back press #23

Open depindersharma opened 5 years ago

depindersharma commented 5 years ago

There should be a method to call to be able to dismiss the displaying bubble on click of the back button.

NooruddinLakhani commented 5 years ago

Yes of-course there should be a method to dismiss. I am also using this and facing the issue like when it displaying, user back press the the bubble dialog still showing and screen goes back. Any solution ?

KingArmstring commented 5 years ago

I managed to solve this b telling the user that clicking the x-button will close the whole tutorial, and when he/she clicks x-button, I clear the list of showcases.

Other solution is to tell the user that clicking the back button will stop the tutorial, and then override the method onKeyDown() or onBackPressed() and inside them also clear the lists

NooruddinLakhani commented 5 years ago

@KingArmstring I think your 2nd solution is better to handle on back press. I've done the same