xamarin/Xamarin.Forms

ImageCell line Separator not Rendering properly on iOS ListView

开放

#4,711 创建于 2018年12月12日

 (7 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
a/listviewe/2 :clock2:good first issuehelp wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs

仓库指标

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

描述

Description

When using an ImageCell in a ListView, and all the properties of the ImageCell are set, specifically the ImageSource, the list item separator is not shown.

Creating a custom ViewCell with a a grid and an Image to emulate a similar layout doesn't have the same issue. The list item separator is rendered fine.

Steps to Reproduce

  1. Create ListViewXAML or Code)
  2. Create an ImageCell
  3. Set the Text, Detail and Image Source

Expected Behavior

All list items should be separated by a grey line separator

Actual Behavior

No list items are separated by a grey line separator. When pulling the listview down to force a repaint of the top list items, the line is drawn only for the first 2 items.

Basic Information

  • Version with issue: 3.4.0.1008975
  • Last known good version: /
  • IDE: Visual Studo for Mac
  • Platform Target Frameworks:
    • iOS:
  • Nuget Packages: Xamarin.Forms
  • Affected Devices:

Screenshots

image

image

Reproduction Link

This can be reproduced using the Xamarin University Example XAM280 (Exercise 5 complete) Or download my source code on github: https://github.com/rogerwcpt/xamarin-forms-list-app

贡献者指南