xamarin/Xamarin.Forms

[Bug] selection view for CellView Not working On iOS when using CachingStrategy="RecycleElement" or CachingStrategy="RecycleElementAndDataTemplate"

Offen

#7.994 geöffnet am 14.10.2019

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (1.926 Forks)batch import
a/customrenderera/listviewe/5 :clock5:help wantedinactivep/iOS 🍎p/tablett/bug :bug:up-for-grabs

Repository-Metriken

Stars
 (5.644 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Description

When I try to customize the selection view for the view cell using ViewCellRenderer the selection works fine only when the list view CachingStrategy="RetainElement"

App1.zip

Steps to Reproduce

  1. Download the sample project and run it
  2. Make a selection to any item in the list view by tapping the cell

Expected Behavior

The selection view should be works in all list view CachingStrategy

Actual Behavior

Selection view not work when the list view CachingStrategy="RecycleElement" or CachingStrategy="RecycleElementAndDataTemplate"

Basic Information

  • Version with issue: xamarin forms 4.2.0.848062
  • Last known good version: --
  • IDE: Visual studio 2019
  • Platform Target Frameworks:
    • iOS: IOS 13
  • Affected Devices: iPad pro (12.9 inch) 3rd G with IOS 13, and iPhone 11 with IOS 13

Screenshots

image

image

Reproduction Link

Contributor Guide