We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
配合RecyclerView 使用的 StoreHouseHeader header = new StoreHouseHeader(this); header.setTextColor(getResources().getColor(R.color.black_a)); header.initWithString("daoshu"); ptrLayout.setHeaderView(header); ptrLayout.addPtrUIHandler(header);
//下来监听 ptrLayout.setPtrHandler(new PtrDefaultHandler() { @Override public void onRefreshBegin(PtrFrameLayout frame) { mAdapter.getData().clear(); pageNum = 1; presenter.getAllPolice("", "", "", pageNum); } });
我在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:
No branches or pull requests
配合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: