Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notify user to clean up #1

Closed
gautamshrm3 opened this issue Jul 7, 2015 · 6 comments
Closed

notify user to clean up #1

gautamshrm3 opened this issue Jul 7, 2015 · 6 comments

Comments

@gautamshrm3
Copy link

Is there any method to check for tour guide is finished or clean up notification

@worker8
Copy link
Owner

worker8 commented Jul 7, 2015

There is currently no method to check whether TourGuide is showing or cleaned up.

If it is implemented, it will look something like this mTourGuideHandler.isShowing(); Do you need a method like this? Can you show a use case for it?

I will consider adding this method.

For cleaning up, you can use mTourGuideHandler.cleanUp();

@gautamshrm3
Copy link
Author

yes we want
please refer the show case view here they provide us to one shot method to show tour only one time

@worker8
Copy link
Owner

worker8 commented Jul 7, 2015

I think what you need is SharedPreference: http://developer.android.com/guide/topics/data/data-storage.html#pref

By using SharedPreference, key-value pairs can be stored in an Android device. You can use this to set a flag to indicate whether TourGuide has already been shown or not.

@gautamshrm3
Copy link
Author

Thanks,
But this is secondary option to handle this case.

@worker8
Copy link
Owner

worker8 commented Jul 8, 2015

Thanks for the suggestion, I will implement a method called TourGuide.isFirstTimeUser() and TourGuide.setFirstTimeUser(boolean) in the future and close this issue.

@worker8
Copy link
Owner

worker8 commented Aug 7, 2015

I added this to the todo list in the Roadmap (check here), so I will close this issue for now.

@worker8 worker8 closed this as completed Aug 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants