Xamarin.forms: Xamarin forms 4.2 : After up-gradation, Collection view cells Disappears and Appears when adding items

Created on 17 Sep 2019  路  5Comments  路  Source: xamarin/Xamarin.Forms

Description

Collection view cells Disappears and Appears when adding items to list. It's like showing blank white space and again adding items.

We are inserting items in middle of the list and it is causing the issue for the first time.

Steps to Reproduce

Expected Behavior

It needs to add smoothly without any existing cells drastic movements.

Actual Behavior

Basic Information

  • Version with issue: Xamarin forms 4.2
  • Last known good version:
  • IDE: Visual Studio Mac
  • Platform Target Frameworks:

    • iOS: As of now, facing issue in iOS

Screenshots


Screen Shot 2019-09-17 at 12 33 51
Screen Shot 2019-09-17 at 12 34 10

Reproduction Link

collectionview regression iOS 馃崕 bug

All 5 comments

@vijayMmenlo Can you please attach a small project that demonstrates this issue? Thanks!

This is client project & policy don't accept to share. I can share below details.
I have used ContextViewCell nuget package to implement swipe with delete functionality. Previously tried with listview with delete(Image), Others options but it is not showing images properly even after applied custom renderer. So we got solution with Collectionview to do so. But Collectionview is not behaving properly after inserting items in middle of the list.

Used below nuget package
https://www.nuget.org/packages/ContextViewCell/

Code for your reference:


























Hey @samhouts please find repro sample attached. Somehow it doesn't happen if I add an item right after creating the ObservableCollection.

TestCollectionViewAdd.zip

ezgif com-video-to-gif

7472 is the same issue. Fixed by #7580.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jassmith picture jassmith  路  69Comments

juepiezhongren picture juepiezhongren  路  66Comments

hartez picture hartez  路  178Comments

Genfood picture Genfood  路  91Comments

Sebastian1989101 picture Sebastian1989101  路  59Comments