xamarin/Xamarin.Forms

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

开放

#6,608 创建于 2019年6月20日

 (7 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
a/entrya/listviewa/performancee/3 :clock3:help wantedp/Androidt/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 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

贡献者指南