Commit 4e4120bc authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Viewtypes below -1 are not relevant

parent fe38d93c
Pipeline #7305 canceled with stages
in 2 seconds
......@@ -101,7 +101,7 @@ abstract class NavigationDrawerActivity : BaseActivity() {
styleOptions = createStyleOptions()
listAdapter = NavigationDrawerAdapter(this, drawerItems, styleOptions)
val pool = drawerList.recycledViewPool
for(i in -500..500) pool.setMaxRecycledViews(i, 1)
for(i in -1..100) pool.setMaxRecycledViews(i, 1)
recyclerViewReadyCallback = object : RecyclerViewReadyCallback {
override fun onLayoutReady() {
listAdapter.let {
......
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