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

fix onItemLayout #717

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

fix onItemLayout #717

wants to merge 4 commits into from

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.

None yet

4 participants