Added search in text

This commit is contained in:
M66B
2020-02-22 13:39:07 +01:00
parent ef4e6745ef
commit 3f92947e56
6 changed files with 165 additions and 1 deletions

View File

@@ -1508,6 +1508,16 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
});
}
public void scrollTo(final int pos, final int y) {
new Handler().post(new Runnable() {
@Override
public void run() {
LinearLayoutManager llm = (LinearLayoutManager) rvMessage.getLayoutManager();
llm.scrollToPositionWithOffset(pos, -y);
}
});
}
@Override
public void move(long id, String type) {
Bundle args = new Bundle();