Add comment about RecyclerView cache size (mihonapp/mihon#1119)
Note for forks: Increasing cache size may cause OOM on API < 26, better to make it API 26+ only. (cherry picked from commit 1c47a6b9b35c622200c731cdbbc076f5263e8d06)
This commit is contained in:
parent
88896fe357
commit
1a9c712627
1 changed files with 1 additions and 0 deletions
|
|
@ -411,4 +411,5 @@ class WebtoonViewer(
|
|||
}
|
||||
}
|
||||
|
||||
// Double the cache size to reduce rebinds/recycles incurred by the extra layout space on scroll direction changes
|
||||
private const val RecyclerViewCacheSize = 4
|
||||
|
|
|
|||
Loading…
Reference in a new issue