Skip to content

Conversation

@tomasmozeris
Copy link

Make onItemLayout work without forceNonDeterministicRendering

@Derewith
Copy link

@naqvitalha check this

@TheFrostage
Copy link

Any updates on the matter? My project would benefit greatly from this fix!

@tomasmozeris
Copy link
Author

@TheFrostage you could use this package https://github.com/ds300/patch-package and patch till fix will be included

@naqvitalha
Copy link
Collaborator

What is the value add here? In case of fixed dimensions don't we know the layout already? I'm curious to understand how this is being used.

@tomasmozeris
Copy link
Author

I'm using it to show placeholders in list till onItemLayout is fired.

if it is unwanted change we could improve readme, that it works only with forceNonDeterministicRendering, currently it states: A callback function that is executed when an item of the recyclerListView (at an index) has been layout. This can also be used as a proxy to itemsRendered kind of callbacks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants