Does ListViewCachingStrategy.RecycleElement Apply to Win Phone 8.1?

TimM.GzTimM.Gz AUMember

I am using a ListView with a custom ViewCell "MyCustomViewCell". I have specified ListViewCachingStrategy.RecycleElement, and limit my ListView size to 250 elements. I see (via debug logging) that the constructor "MyCustomViewCell" is called 250 times, implying that a new ViewCell is created for each element in my ListView. Is that correct and expected?

Xamarin version: Xamarin.Forms.2.1.0.6526

Answers

  • TimM.GzTimM.Gz AUMember

    On iOS only the number of MyCustomViewCell's that fit on the screen are created.

Sign In or Register to comment.