forked from liaohuqiu/android-Ultra-Pull-To-Refresh
-
Notifications
You must be signed in to change notification settings - Fork 104
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
出现内存溢出 #54
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
配合RecyclerView 使用的
StoreHouseHeader header = new StoreHouseHeader(this);
header.setTextColor(getResources().getColor(R.color.black_a));
header.initWithString("daoshu");
ptrLayout.setHeaderView(header);
ptrLayout.addPtrUIHandler(header);
我在ondestroy时做了处理
@OverRide
protected void onDestroy() {
super.onDestroy();
if (ptrLayout != null) {
ptrLayout.setPtrHandler(null);
ptrLayout.addPtrUIHandler(null);
ptrLayout = null;
}
}
我使用leakcanary做内存检测时出现了内存溢出的现象,
refrecences Message.next
refrecences Message.callback
refrecences PtrFrameLayout$1.this&0
refrecences PtrFrameLayout.mContext
以上是leakcanary爆出的信息,请问这个是怎么引起的
The text was updated successfully, but these errors were encountered: