mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-30 22:06:18 +00:00
Don't calculate date header item for adapter header
Fixes #6098 // FREEBIE
This commit is contained in:
@@ -288,7 +288,10 @@ public class ConversationAdapter <V extends View & BindableConversationItem>
|
||||
|
||||
@Override
|
||||
public long getHeaderId(int position) {
|
||||
if (!isActiveCursor()) return -1;
|
||||
if (!isActiveCursor()) return -1;
|
||||
if (isHeaderPosition(position)) return -1;
|
||||
if (isFooterPosition(position)) return -1;
|
||||
if (position >= getItemCount()) return -1;
|
||||
|
||||
Cursor cursor = getCursorAtPositionOrThrow(position);
|
||||
MessageRecord record = getMessageRecord(cursor);
|
||||
|
||||
Reference in New Issue
Block a user