Fix for intermittent crash

// FREEBIE
This commit is contained in:
Moxie Marlinspike
2017-01-24 17:48:32 -08:00
parent 342fd37799
commit b575b4e6ae
4 changed files with 29 additions and 10 deletions

View File

@@ -300,5 +300,10 @@ public class ConversationAdapter <V extends View & BindableConversationItem>
Cursor cursor = getCursorAtPositionOrThrow(position);
viewHolder.setText(DateUtils.getRelativeDate(getContext(), locale, getMessageRecord(cursor).getDateReceived()));
}
@Override
public boolean isActive() {
return isActiveCursor();
}
}