xamarin/Xamarin.Forms
HasUnevenRows fires ItemAppearing for invisible screen items when the cell is an Image
Aberta
#3.874 aberto em 22 de set. de 2018
a/listviewe/5 :clock5:help wantedinactivep/Androidt/bug :bug:up-for-grabs
Métricas do repositório
- Stars
- (5.644 estrelas)
- Métricas de merge de PR
- (Métricas PR pendentes)
Description
Description
If a ListView has cells that are made up of only Image instances (or wrapper layouts whose only content is an Image) and HasUnevenRows is set to true, then ItemAppearing will be fired for virtually every list item even if it does not appear on the screen. This is bad for scenarios involving infinite scrolling. The issue seems to exist on both Android and iOS.
Ref: an old issue (27845) that's been resolved.
Steps to Reproduce
- Run the attached repro
- Observe that ItemAppearing is fired for dozens of items even though it should be fired only a few times upon page load