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

按照readme中写法写会提示abscircleDialog这个类内存泄漏 #28

Open
limengxin opened this issue Oct 15, 2018 · 8 comments
Open

Comments

@limengxin
Copy link

No description provided.

@liyuzhao
Copy link

同样遇到了这个问题,你是怎样修复的?

@limengxin
Copy link
Author

我直接换了一个,这个应该是已经停止更新了

@CelestialPossession
Copy link

同样遇到了这个问题,你是怎样修复的?

square/leakcanary#1079

@mylhyl
Copy link
Owner

mylhyl commented Jan 4, 2019

请贴出具体的泄露信息,谢谢!

@CelestialPossession
Copy link

screenshot_2019-01-04-16-48-49
screenshot_2019-01-04-16-53-32

以上LeakCanary显示的泄露路径,模拟器为夜神模拟器,安卓4.4

我将项目内所有和handler相关的代码,以及view.post()代码注释掉,泄露仍然存在。

screenshot_2019-01-04-16-49-05

然后我注意到泄露列表里有Exclude标记,猜测是某种不规范调用下的系统级的泄露。

square/leakcanary#1079

598b7014e28d59c8ad2975650dcf1978

最后一张图没有显示Exclude,机型为小米6,MIUI10。

@mylhyl
Copy link
Owner

mylhyl commented Jan 7, 2019

screenshot_2019-01-04-16-48-49
screenshot_2019-01-04-16-53-32

以上LeakCanary显示的泄露路径,模拟器为夜神模拟器,安卓4.4

我将项目内所有和handler相关的代码,以及view.post()代码注释掉,泄露仍然存在。

screenshot_2019-01-04-16-49-05

然后我注意到泄露列表里有Exclude标记,猜测是某种不规范调用下的系统级的泄露。

square/leakcanary#1079

598b7014e28d59c8ad2975650dcf1978

最后一张图没有显示Exclude,机型为小米6,MIUI10。

收到,谢谢!

@lisenmr
Copy link

lisenmr commented Sep 2, 2019

报错
版本:3.0.10.(请留存一个新版本非AndroidX版本)谢谢
CircleDialog.Builder().setInputHeight(40)
java.lang.ClassCastException: com.mylhyl.circledialog.view.BodyRecyclerView cannot be cast to com.mylhyl.circledialog.view.listener.InputView

@mylhyl
Copy link
Owner

mylhyl commented Sep 5, 2019

报错
版本:3.0.10.(请留存一个新版本非AndroidX版本)谢谢
CircleDialog.Builder().setInputHeight(40)
java.lang.ClassCastException: com.mylhyl.circledialog.view.BodyRecyclerView cannot be cast to com.mylhyl.circledialog.view.listener.InputView

@lisenmr 非androidX
https://github.com/mylhyl/Android-CircleDialog/tree/v4-misSdk16

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

5 participants