Skip to content

Commit

Permalink
onAttachedToRecyclerView,onDetachedFromRecyclerView还是需要向下传递方法
Browse files Browse the repository at this point in the history
  • Loading branch information
jianghejie committed Nov 25, 2016
1 parent 66be8f6 commit e6af3f5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -475,12 +475,12 @@ public int getSpanSize(int position) {
}
});
}
// adapter.onAttachedToRecyclerView(recyclerView);
adapter.onAttachedToRecyclerView(recyclerView);
}

@Override
public void onDetachedFromRecyclerView(RecyclerView recyclerView) {
//adapter.onDetachedFromRecyclerView(recyclerView);
adapter.onDetachedFromRecyclerView(recyclerView);
}

@Override
Expand Down

0 comments on commit e6af3f5

Please sign in to comment.