forked from upstream-mirrors/quik
setHasFixedSize to true in MainActivity and ComposeActivity
This commit is contained in:
@@ -99,6 +99,7 @@ class ComposeActivity : QkActivity<ComposeViewModel>(), ComposeView {
|
|||||||
.show()
|
.show()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
messageList.setHasFixedSize(true)
|
||||||
messageList.layoutManager = layoutManager
|
messageList.layoutManager = layoutManager
|
||||||
messageList.adapter = messageAdapter
|
messageList.adapter = messageAdapter
|
||||||
|
|
||||||
|
|||||||
@@ -92,6 +92,7 @@ class MainActivity : QkActivity<MainViewModel>(), MainView {
|
|||||||
viewModel.bindView(this)
|
viewModel.bindView(this)
|
||||||
toolbarSearch.setHint(R.string.title_conversations)
|
toolbarSearch.setHint(R.string.title_conversations)
|
||||||
|
|
||||||
|
recyclerView.setHasFixedSize(true)
|
||||||
recyclerView.layoutManager = LinearLayoutManager(this)
|
recyclerView.layoutManager = LinearLayoutManager(this)
|
||||||
|
|
||||||
// Don't allow clicks to pass through the drawer layout
|
// Don't allow clicks to pass through the drawer layout
|
||||||
|
|||||||
Reference in New Issue
Block a user