private void Check(string Token, bool CheckType, string card) { Handler handler = new Handler(); run = new Runnable(() => { HttpApi.CheckAsync(this, Token, CheckType, mac.GetMac(), card); handler.PostDelayed(run, 1000 * 20); }); handler.Post(run); }
private static void Check(string Token, bool CheckType, string card) { Handler handler = new Handler(); run = new Java.Lang.Runnable(() => { HttpApi.CheckAsync(mResult, Token, CheckType, mac.GetMac(), card); handler.PostDelayed(run, 1000 * 20); }); handler.Post(run); }