Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28568] Android: Add fixedSize to RecyclerView

GitHub Issuen/a
TypeImprovement
PriorityCritical
StatusIn Progress
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sRelease 10.2.0
ComponentsAndroid
Labelsn/a
ReporterMichael Gangolf
AssigneeGary Mathews
Created2020-11-22T12:40:42.000+0000
Updated2021-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.

Comments

  1. Michael Gangolf 2021-10-23

    PR: https://github.com/appcelerator/titanium_mobile/pull/13138

JSON Source