29jitender / Spotlight

Spotlight is an Android library used to onboard users by showcasing specific features in the app.
Apache License 2.0
1.27k stars 163 forks source link

reset usage id #52

Closed MohsenShafiee closed 7 years ago

MohsenShafiee commented 7 years ago

Hi thanks for the beautiful lib is there any method to reset all and show again spotlight?

thanks in advance...

dhavalwooplr commented 7 years ago

Hi @TheLoyalCruel, Thanks.

You can use resetAllUsageIds(), resetUsageId(String id) methods from SpotlightView class for that. You will be able to use it from our next release "1.2.4"

DebdeepG commented 7 years ago

Create an instance of PreferencesManager (present inside Spotlight) and use the method resetAll() . Refer #9