mirror of
https://github.com/bitwarden/android.git
synced 2026-05-22 22:24:37 -05:00
21 lines
608 B
C#
21 lines
608 B
C#
using System.Globalization;
|
|
using CommunityToolkit.Maui.Converters;
|
|
|
|
namespace Bit.App.Controls
|
|
{
|
|
public class ExtendedCollectionView : CollectionView
|
|
{
|
|
public string ExtraDataForLogging { get; set; }
|
|
}
|
|
|
|
public class SelectionChangedEventArgsConverter : BaseConverterOneWay<SelectionChangedEventArgs, object>
|
|
{
|
|
public override object DefaultConvertReturnValue { get; set; } = null;
|
|
|
|
public override object ConvertFrom(SelectionChangedEventArgs value, CultureInfo culture)
|
|
{
|
|
return value?.CurrentSelection.FirstOrDefault();
|
|
}
|
|
}
|
|
}
|