Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid excessive requestLayout calls #2270

Merged
merged 1 commit into from Jun 8, 2016
Merged

Conversation

hshristov
Copy link
Contributor

Added View.isLayoutRequired - to check if Layout call is needed after a measure call. Use in list-view.
Measure pass now get all its properties from nativeLayoutParams property instead of using instance dependency properties (e.g. perf improvement).
List-view now layouts cells only if there is need to.
List-view now measure rows with the specified rowHeight.

Added View.isLayoutRequired - to check if Layout call is needed after a measure call. Use in list-view.
Measure pass now get all its properties from nativeLayoutParams property instead of using instance dependency properties (e.g. perf improvement).
List-view now layouts cells only if there is need to.
List-view now measure rows with the specified rowHeight.
@ns-bot ns-bot added the cla: yes label Jun 8, 2016
@PanayotCankov
Copy link
Contributor

👍

@hshristov hshristov merged commit 2260801 into master Jun 8, 2016
@hshristov hshristov deleted the hhristov/layout-improvements branch June 8, 2016 12:41
@hshristov hshristov added this to the 2.1 milestone Jul 1, 2016
@hshristov hshristov self-assigned this Jul 1, 2016
@lock
Copy link

lock bot commented Aug 28, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants