BubbleShowCase-Android icon indicating copy to clipboard operation
BubbleShowCase-Android copied to clipboard

No way to dismiss sequence on back press

Open depindersharma opened this issue 6 years ago • 3 comments

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

depindersharma avatar Jan 12 '19 08:01 depindersharma

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 ?

NooruddinLakhani avatar Jan 31 '19 13:01 NooruddinLakhani

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

KingArmstring avatar May 07 '19 07:05 KingArmstring

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

NooruddinLakhani avatar May 11 '19 12:05 NooruddinLakhani