xamarin/Xamarin.Forms

ImageCell line Separator not Rendering properly on iOS ListView

Aperta

#4711 aperta il 12 dic 2018

 (7 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
a/listviewe/2 :clock2:good first issuehelp wantedinactivep/iOS 🍎t/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor