Form oncreate call delegate??

dcydcy TRMember
edited April 2016 in Xamarin.Android

i have 1 delegate and need it call Onload & Oncreate ..etc, how can i do it?
for exam

button1.Click+=new async (sender, e) => {
Task task= myMethod(site);
var result= await task;
text1.Text = result.ToString ();
};

i need it call form onload, not button1.click ? pls help?

OnCreate+=new async (sender, e) => {
Task task= myMethod(site);
var result= await task;
text1.Text = result.ToString ();
};

Sign In or Register to comment.