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

Can`t close the window #3

Open
Rogue85 opened this issue May 21, 2016 · 5 comments
Open

Can`t close the window #3

Rogue85 opened this issue May 21, 2016 · 5 comments

Comments

@Rogue85
Copy link

Rogue85 commented May 21, 2016

Hello! You did a great job, this library is delicious!
Unfortunately, I have a problem. If I open and close the popup window several times, the next window on what does not react. I can not close it. I very much hope that you can help solve this problem..

popup = MaryPopup.with(this.getActivity()) .cancellable(true) .draggable(true) .scaleDownDragging(true) .center(true) .blackOverlayColor(Color.parseColor("#DD444444")) .backgroundColor(Color.parseColor("#EFF4F5"));

Thanks! And sorry for my English!

@DoktorBog
Copy link

Yes i have same problem too. Pls fix it if u can)

@ModirGithub
Copy link

ModirGithub commented Jul 10, 2016

This Problem fixed:
after Colose(....) ;
add this:

try{ close(true); if(blackOverlay!=null){ activityView.removeView(blackOverlay); blackOverlay = null; } if(popupView!=null){ activityView.removeView(popupView); popupView = null; } }catch (Exception e){} handleClick = false; }

because
.end(clearListener) in "close" method not worked.

@coolmyll
Copy link

coolmyll commented Aug 5, 2017

@ModirGithub Sorry can you explain how to fix it?

@ModirGithub
Copy link

ModirGithub commented Aug 7, 2017 via email

@coolmyll
Copy link

coolmyll commented Aug 8, 2017

Lot of unknown entities suck as blackoverlay etc even if i override the method. If you have a spare moment @ModirGithub and want to help a fellow developer my mail is cool_myll@hotmail.com

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

4 participants