xamarin/Xamarin.Forms

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

开放

#7,994 创建于 2019年10月14日

 (2 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
a/customrenderera/listviewe/5 :clock5:help wantedinactivep/iOS 🍎p/tablett/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南