mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-10 04:37:25 +01:00
Add comment about RecyclerView cache size (#1119)
Note for forks: Increasing cache size may cause OOM on API < 26, better to make it API 26+ only.
This commit is contained in:
parent
f4348df870
commit
1c47a6b9b3
@ -361,4 +361,5 @@ class WebtoonViewer(val activity: ReaderActivity, val isContinuous: Boolean = tr
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Double the cache size to reduce rebinds/recycles incurred by the extra layout space on scroll direction changes
|
||||||
private const val RecyclerViewCacheSize = 4
|
private const val RecyclerViewCacheSize = 4
|
||||||
|
Loading…
Reference in New Issue
Block a user