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

Totally Dismiss ShowcaseView During onPause or any Other Time #54

Open
oluwabajio opened this issue Aug 2, 2021 · 1 comment
Open

Comments

@oluwabajio
Copy link

This might be useful to someone. If you need to totally dismiss showcaseView / GuideView. You can use the below method.

Using .dismiss(); would only move to the next showcase and not totally remove the GuideView.

This is what works for me.

((ViewGroup) ((Activity) getContext()).getWindow().getDecorView()).removeView(mGuideView);

@mreram
Copy link
Owner

mreram commented Aug 31, 2022

It's what we do in dismiss() implementation method. you can check here:

((ViewGroup) ((Activity) getContext()).getWindow().getDecorView()).removeView(this);

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