Advertisement
Apidcloud

RunOnUiThread vs Task.Run

Aug 12th, 2016
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.13 KB | None | 0 0
  1. // manipulate UI controls
  2. RunOnUiThread(async () =>
  3. {
  4.     // try to update database
  5.     await _controller.UpdateDatabaseAsync();
  6. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement