Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.
This repository was archived by the owner on May 1, 2024. It is now read-only.

[Android] CollectionView Crashes when ItemSource Changed  #5110

@minaairsupport

Description

@minaairsupport

Description

App Crash when ItemSource Changed for CollectionView

Steps to Reproduce

  1. Create ContentPage contain CollectionView
  2. init item source for CollectionView with an empty list
  3. Load data from web service and make any delay then fill this ItemSource

Expected Behavior

ItemSource Changed

Actual Behavior

App Crashes with this error

JniEnvironment+InstanceMethods.CallNonvirtualVoidMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniObjectReference type, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args)
Java.Lang.IllegalStateException: Observer md51558244f76c53b6aeda52c8a337f2c37.DataChangeObserver@e23f401 was not registered.

Basic Information

  • Version with issue: 4.0.0.94569-pre3
  • Last known good version:
  • IDE: Visual Studio Mac 2017 , 2019
  • Platform Target Frameworks:
    • Android: 7.0
  • Nuget Packages:4.0.0.94569-pre3
  • Affected Devices:Nexsus 4 , Android 7.0 api 24

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions