xm
2019-07-16 b910cb79c9b5bcc204022a3cf9e6950f0a64dfbd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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);
            //});
        }
    }
}