I have declared a UITableView
tableView
with a getter/setter
I want to use this tableView asynchronously
await Task.Run (() => getResult ()
inside the getResult
method, I try to access the tableView
on the main thread
InvokeOnMainThread (() => {
tableView.Hidden = false;
});
This results in a
Null Reference Exception
How can I access the tableView asynchronously without getting a null reference exception. Is there any workaround to this?