Kaopiz / KProgressHUD

An implement of ProgressHUD for Android, similar to MBProgressHUD, SVProgressHUD for iOS.
Apache License 2.0
1.65k stars 382 forks source link

你好 我传入activity的context 会导致内存泄漏 #54

Open Mrsun1127 opened 5 years ago

Mrsun1127 commented 5 years ago

传入全局上下文 又加载不出来

Mrsun1127 commented 5 years ago

传入 Activity.this 会内存泄漏

tuanna-hsp commented 5 years ago

Hi. Thank for reporting. I will look into this.

Could you give me some context? Is the Activity leaked after the Hub has been closed?

Mrsun1127 commented 5 years ago

Hello memory leak temporarily solved the load box encapsulated into a single Base Base class and instantiate the loading led to a memory leak, now every time I create a new load box then dissmiss solve the memory leak, but there was a problem loading frame parameter must be the activity this loaded box to display or incoming applaccation will load out