xamarin/Xamarin.Forms

Item height of the listview is not auto size when load image with aspect fill

Aperta

#5748 aperta il 29 mar 2019

 (2 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
a/listviewe/7 :clock7:help wantedinactivep/Androidt/bug :bug:up-for-grabs

Metriche repository

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

Descrizione

Description

Row height of the listview is not updated when load image inside the item template of the listview with Aspect as AspectFill.

Same issue replicated in SFListVIew also.

Steps to Reproduce

  1. Run the sample and navigate to Xamarin ListView
  2. You can see that the row height is not properly calculated and image is not shown properly.

Expected Behavior

Image should visible with proper height.

Actual Behavior

Image is clipped

Basic Information

  • Version with issue: 3.5.0.169047
  • Last known good version:
  • IDE: VS2017
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP:
  • Android Support Library Version:
  • Nuget Packages:
  • Affected Devices:

Screenshots

Screenshot_20190329-174439

Reproduction Link

Sample.zip

Guida contributor