protected override void OnCreate (Bundle savedInstanceState) { base.OnCreate (savedInstanceState); SetContentView (Resource.Layout.actorDetailLayout); int selected = Intent.GetIntExtra ("selectKey", 0); dataManager = DataManager.Instance; detailedActor = dataManager.GetActorById (selected); Name = FindViewById<TextView> (Resource.Id.name); Description = FindViewById<TextView> (Resource.Id.description); DateOfBirth = FindViewById<TextView> (Resource.Id.dateofbirth); MoviesList = FindViewById<ListView> (Resource.Id.moviesList); Name.Text = detailedActor.name; Description.Text = detailedActor.bio; DateOfBirth.Text = String.Format ("Born on: {0}", detailedActor.dateofbirth.ToString ("d")); AddMovies (); }
public Task<List<Movie>> GetAllMoviesWithActor (Actor Actor) { return serverAccessor.GetAllMoviesWithActor (Actor); }