Skip to content
This repository has been archived by the owner on Nov 10, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants