Skip to content

SwipeItems referencing causes crash on Android. [Duplicate of #18429] #19331

@DxsSucuk

Description

@DxsSucuk

Description

This is a duplicate of #18429, since this Issue has not been resolved and still exists with the latest .NET 8 release.

Steps to Reproduce

  1. Create a MAUI Project.
  2. Make a CollectionView with a Itemtemplate which has a SwipeView.
  3. Make a variable of the typ SwipeItems
  4. Bind that variable to either LeftSwipeItems or RightSwipeItems
  5. Try sliding a entry to the side.
  6. Try sliding another one to the side, without sliding the previous one back.
  7. Observe Java IllegalArgument!

Link to public reproduction project repository

https://github.com/DxsSucuk/Maui.DataGrid/tree/feature/swipeItem

Version with bug

8.0.3

Is this a regression from previous behavior?

No, this is something new

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 12

Did you find any workaround?

Adding the SwipeItems in the Datatemplate, but that is not a actual solution since it stops any flexability.

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions