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

There is a problem,I hope you can be For us to solve #28

Open
httpboy opened this issue Mar 20, 2017 · 0 comments
Open

There is a problem,I hope you can be For us to solve #28

httpboy opened this issue Mar 20, 2017 · 0 comments

Comments

@httpboy
Copy link

httpboy commented Mar 20, 2017

/**
*

  • 这里的代码有问题:在做动画是碰到这个错误,后面发现是我在加动画图片这边也在移除动画,本人加上一句话 getRootView().post(new Runnable() {}
  • 2017/3/20 下午4:59 to 陈博易

*/
public void dismissImmediately() {
decorView.getRootView().post(new Runnable() {
@OverRide
public void run() {
decorView.removeView(rootView);
}
});

    isShowing = false;
    if (onDismissListener != null) {
        onDismissListener.onDismiss(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

1 participant