Improve autoscroll a bit

Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2020-01-21 00:28:19 +01:00
parent 7a24b111a0
commit 763752890b
No known key found for this signature in database
GPG Key ID: CDE0BBD2738C4CC0

View File

@ -91,6 +91,7 @@ class ConversationsListView : BaseView() {
})
.into(view.recyclerView)
adapter.setAutoScrollMode(Adapter.AUTOSCROLL_POSITION_0, true)
view.apply {
recyclerView.initRecyclerView(SmoothScrollLinearLayoutManager(activity), adapter, false)