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

Dismiss does not work in all cases #140

Closed
GerasimosGots opened this issue Dec 17, 2022 · 1 comment
Closed

Dismiss does not work in all cases #140

GerasimosGots opened this issue Dec 17, 2022 · 1 comment

Comments

@GerasimosGots
Copy link
Contributor

Please complete the following information:

  • Library Version v1.2.4
  • Does not have to do with devices

Describe the Bug:

In cases where we have a fragment that uses a custom view e.g search bar, and that custom view has a recycler view
and in the adapter we use power spinner. If we have opened the spinner and then dismiss the custom view, as result the adapter will be destroyed but the power spinner cannot be dismissed and it's still visible.

Expected Behavior:

The power spinner should be dismissed when we destroy a view that contains the spinner.

@skydoves
Copy link
Owner

Hey @GerasimosGots, sorry for the late response. You should pass the view's lifecycle owner to the setLifecycleOwner method for this. If you still face the same issue with this solution, please re-open this issue. Thanks!

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