Apidcloud

RunOnUiThread vs Task.Run

Aug 12th, 2016
76
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // manipulate UI controls
  2. RunOnUiThread(async () =>
  3. {
  4.     // try to update database
  5.     await _controller.UpdateDatabaseAsync();
  6. });
RAW Paste Data