xamarin/Xamarin.Forms

[Bug][Android] Entry's instance count get increases in each and every scroll while adding it in Table View

Aperta

#6608 aperta il 20 giu 2019

 (7 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
a/entrya/listviewa/performancee/3 :clock3:help wantedp/Androidt/bug :bug:up-for-grabs

Metriche repository

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

Descrizione

Description

I have added Entry control inside the TableView with uneven rows, scroll the TableView top and bottom, checked the instance count by using Android profiler. For each and every scroll, the Entry's instance count get increased.

Steps to Reproduce

  1. Add the Entry inside the Table view
  2. Scroll the Table view
  3. Check the Entry instance count by using Android profiler

Expected Behavior

Entry's instance count not get increased while scrolling

Actual Behavior

Entry's instance count increases on each scroll

Basic Information

  • Version with issue:
  • Last known good version: Checked in both 3.1.0.697729 and 4.0.0.497661
  • IDE: Visual Studio Professional 2017, Android Studio 3.4
  • Platform Target Frameworks:
    • Android: Android SDK version 6.0 (API 23)
  • Android Support Library Version: 28.0.0.1
  • Nuget Packages:
  • Affected Devices: MotoE2 (4G-LTE)

Screenshots

Initial instance :

After 10 scrolls :

Reproduction Link

TableViewIssue.zip

Guida contributor