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
603 stars 90 forks source link

Add support to save if the user has seen the bubble before #3

Closed wezley98 closed 6 years ago

wezley98 commented 6 years ago

Could use shared prefs, and pass in a key name. If the user has seen the bubble before don't show again.

JorgeCM commented 6 years ago

Hi wezley98,

Good idea! I have just updated a new version adding this feature.

implementation 'com.elconfidencial.bubbleshowcase:bubbleshowcase:1.1.0'

Now, you could add a keyname for your BubbleShowCase to avoid showing it more than one time.

BubbleShowCaseBuilder(this)
                .title("foo")
                .showOnce("BUBBLE_SHOW_CASE_ID") //Id to show only once the BubbleShowCase
                .targetView(view)
                .show()

Enjoy! :)

NooruddinLakhani commented 5 years ago

How to close BubbleShowCase dialog on back press in fragment ?