xamarin/Xamarin.Forms

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

オープン

#6,608 opened on 2019/06/20

 (7 件のコメント) (0 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
a/entrya/listviewa/performancee/3 :clock3:help wantedp/Androidt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド