Restore scroll position

This commit is contained in:
M66B
2021-04-29 16:54:38 +02:00
parent f2d2577fbf
commit c16da8ca17
2 changed files with 31 additions and 5 deletions

View File

@@ -1638,6 +1638,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
bindBody(message, false);
bindAttachments(message, attachments, true);
if (!scroll)
properties.ready(message.id);
}
});
@@ -6239,6 +6242,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
void scrollBy(int x, int y);
void ready(long id);
void move(long id, String type);
void reply(TupleMessageEx message, String selected, View anchor);