public static FetchMonkeyImage ( string term ) : Task |
||
term | string | |
Результат | Task |
public async override void OnViewCreated(View view, Bundle savedInstanceState) { base.OnViewCreated(view, savedInstanceState); view.FindViewById <TextView> (Resource.Id.monkeyName).Text = monkeyName.ToUpper(); view.FindViewById <TextView> (Resource.Id.monkeySummary).Text = await WikipediaApi.FetchIntroductionFor(monkeyName); view.FindViewById <ImageView> (Resource.Id.monkeyImg) .SetImageBitmap(await WikipediaApi.FetchMonkeyImage(monkeyName)); }