xamarin/Xamarin.Forms

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

Open

#6,608 opened on Jun 20, 2019

 (7 comments) (0 reactions) (0 assignees)C# (1,926 forks)batch import
a/entrya/listviewa/performancee/3 :clock3:help wantedp/Androidt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 stars)
PR merge metrics
 (No merged PRs in 30d)

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

Contributor guide