xamarin/Xamarin.Forms

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

Ouverte

#6 608 ouverte le 20 juin 2019

 (7 commentaires) (0 réaction) (0 personne assignée)C# (1 926 forks)batch import
a/entrya/listviewa/performancee/3 :clock3:help wantedp/Androidt/bug :bug:up-for-grabs

Métriques du dépôt

Stars
 (5 644 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur