mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-30 09:31:11 +01:00
Scroll to message body
This commit is contained in:
@@ -334,6 +334,17 @@ public class FragmentMessages extends FragmentEx {
|
||||
return bodies.get(id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void scrollTo(final int pos, final int dy) {
|
||||
new Handler().post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
rvMessage.scrollToPosition(pos);
|
||||
rvMessage.scrollBy(0, dy);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public void move(long id, String name, boolean type) {
|
||||
Bundle args = new Bundle();
|
||||
|
||||
Reference in New Issue
Block a user