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

Html 中content內存泄露 #111

Open
Hackerofshi opened this issue Mar 24, 2020 · 3 comments
Open

Html 中content內存泄露 #111

Hackerofshi opened this issue Mar 24, 2020 · 3 comments

Comments

@Hackerofshi
Copy link

public class Html {

public static boolean escapeCJK = false;

public static Context sContext;
..............

}

@ghost
Copy link

ghost commented Apr 27, 2020

public class AreImageGetter implements Html.ImageGetter {

private Context mContext;

private TextView mTextView;

//还有这里也会
private static GlideRequests sGlideRequests;

@minwang1
Copy link

also here
public class ARE_Toolbar extends LinearLayout { private static ARE_Toolbar sInstance; }

@chinalwb
Copy link
Owner

代码考虑不够周全,

  1. @Hackerofshi 此处传递 Application 即可,无需传递 Activity
  2. @techGay 同 1
  3. @minwang1 我记得应该有这句代码,但我怎么没找到?

多谢各位提出问题!

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

3 participants