Skip to content

ListView not recycling items if they are custom components #737

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

Closed
hdeshev opened this issue Apr 4, 2017 · 0 comments
Closed

ListView not recycling items if they are custom components #737

hdeshev opened this issue Apr 4, 2017 · 0 comments

Comments

@hdeshev
Copy link
Contributor

hdeshev commented Apr 4, 2017

  1. The ng ListView component creates ng views and caches them as list view item views properties.
  2. The base list view implementation has some extra code that wraps ProxyViewContainer objects (user components render as those!) in an additional StackLayout.
  3. That breaks the caching check and causes the ng component to always create a new item view instead of recycling the existing one.
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

No branches or pull requests

1 participant