コード例 #1
0
 public void GetActorDetail(int id)
 {
     _movieParameter.Id       = id;
     _movieParameter.Resource = MoviesApiResourcesConsts.SEARCH_PERSON;
     Device.BeginInvokeOnMainThread(() =>
     {
         _peopleService.GetActor(_movieParameter).ContinueWith((actor) =>
         {
             if (actor.Status == System.Threading.Tasks.TaskStatus.RanToCompletion)
             {
                 Actor = actor.Result;
             }
         });
     });
 }