using System;
|
using System.Collections.Generic;
|
using Android.App;
|
using Android.Content;
|
using Android.Graphics;
|
using Android.Graphics.Drawables;
|
using Android.OS;
|
using Android.Views;
|
using Android.Views.Animations;
|
using Android.Widget;
|
using Java.Util.Concurrent;
|
using static Android.Views.ViewGroup;
|
|
namespace Shared
|
{
|
public class PickerView
|
{
|
//public static void Show(List<KeyValuePair<string, string[]>> list, Action<string> action, string sure = "Sure", string beforeValue = "")
|
//{
|
// if (list == null) {
|
// return;
|
// }
|
// var pv = new Shared.Droid.TCL.PickerView();
|
// pv.Show(Application.Activity, list, (obj) => {
|
// action?.Invoke(obj);
|
// });
|
//}
|
public static void Show(List<string> list, Action<string> action, string sure = "Sure", string beforeValue = "")
|
{
|
if (list == null) {
|
return;
|
}
|
//var pv = new Shared.Droid.TCL.PickerView();
|
//pv.Show( Application.Activity, list, (obj) => {
|
// action?.Invoke(obj);
|
//});
|
}
|
}
|
}
|