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] Unable to activate instance of type Xamarin.Forms.Platform.Android.ListViewAdapter when using nested ListViews and DataTemplateSelector #3603

@PureWeen

Description

@PureWeen

Description

ListView
-DatatemplateSelector
--Listview

When swapping out the ItemSource on the parent ListView you'll get an exception of
Unable to activate instance of type Xamarin.Forms.Platform.Android.ListViewAdapter

Steps to Reproduce

  1. Run Control Gallery for Issue3408
  2. Click Change Source
  3. Click Change Property
  4. Click Change Source
  5. Crash

Expected Behavior

No crash and ItemSource swaps out fine

Actual Behavior

Crashes

Basic Information

  • Version with issue: 3,2
  • Last known good version: Not sure
  • IDE:
  • Platform Target Frameworks:
    • Android: 8.0

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions