xamarin / AndroidX

AndroidX bindings for .NET for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SelectionTracker.getSelection()

yaliashkevich opened this issue · comments

Android application type

Classic Xamarin.Android (MonoAndroid12.0, etc.)

Affected platform version

Xamarin.AndroidX.RecyclerView.Selection 1.1.0.12

Description

Looks like there is no explicit way to get current selection from SelectionTracker, i.e. there is no .net counterpart for native getSelection() method.

Steps to Reproduce

n/a

Did you find any workaround?

For now I use following workaround instead

var selection = new MutableSelection()
selectionTracker.CopySelection(selection);

Relevant log output

No response