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. (cherry picked from commit 1c47a6b9b35c622200c731cdbbc076f5263e8d06)
This commit is contained in:
parent
9d7346157b
commit
fc956fc791
@ -402,4 +402,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…
x
Reference in New Issue
Block a user