mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-24 07:59:14 +00:00
Don't calculate date header item for adapter header
Fixes #6098 // FREEBIE
This commit is contained in:
@@ -187,11 +187,11 @@ public abstract class CursorRecyclerViewAdapter<VH extends RecyclerView.ViewHold
|
||||
return valid && cursor != null;
|
||||
}
|
||||
|
||||
private boolean isFooterPosition(int position) {
|
||||
protected boolean isFooterPosition(int position) {
|
||||
return hasFooterView() && position == getItemCount() - 1;
|
||||
}
|
||||
|
||||
private boolean isHeaderPosition(int position) {
|
||||
protected boolean isHeaderPosition(int position) {
|
||||
return hasHeaderView() && position == 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user