Commit 38d367ff authored by Yusuke Iwaki's avatar Yusuke Iwaki

replace smoothScrollTo with scrollTo.

parent 701430de
...@@ -198,7 +198,7 @@ public class RoomFragment extends AbstractChatRoomFragment ...@@ -198,7 +198,7 @@ public class RoomFragment extends AbstractChatRoomFragment
private void scrollToLatestMessage() { private void scrollToLatestMessage() {
RecyclerView listView = (RecyclerView) rootView.findViewById(R.id.recyclerview); RecyclerView listView = (RecyclerView) rootView.findViewById(R.id.recyclerview);
if (listView != null) { if (listView != null) {
listView.smoothScrollToPosition(0); listView.scrollToPosition(0);
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment