[TIMOB-28568] Android: Add fixedSize to RecyclerView
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | Critical |
| Status | In Progress |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | Release 10.2.0 |
| Components | Android |
| Labels | n/a |
| Reporter | Michael Gangolf |
| Assignee | Gary Mathews |
| Created | 2020-11-22T12:40:42.000+0000 |
| Updated | 2021-10-27T22:55:23.000+0000 |
Description
I've read that if the content height doesn't change it would be good to set
*recyclerview.setHasFixedSize(true)* (source: https://blog.usejournal.com/improve-recyclerview-performance-ede5cec6c5bf point 1).
I'm not sure how to benchmark these settings or if they really make a difference but it would be a good addition to have these available as a property.
PR: https://github.com/appcelerator/titanium_mobile/pull/13138