protected override void OnCreate (Bundle bundle) { base.OnCreate (bundle); ActionBar.SetDisplayHomeAsUpEnabled (true); SetContentView (Resource.Layout.CodeProjectMemberProfileLayout); memberName = this.FindViewById<TextView>(Resource.Id.textViewMemberName); memberName.Text = ""; memberReputation = this.FindViewById<TextView>(Resource.Id.textViewMemberReputation); memberReputation.Text = ""; memberIcon = this.FindViewById<ImageView> (Resource.Id.imageViewMemberImage); memberIcon.SetImageBitmap (null); spinner = this.FindViewById<ProgressBar>(Resource.Id.progressBar1); spinner.Visibility = ViewStates.Gone; viewModel = new CodeProjectMemberProfileViewModel (); viewModel.MemberLoaded += this.MemberLoaded; HandleIntent(Intent); }
public CodeProjectMemberProfileViewController (IntPtr handle) : base (handle) { viewModel = new CodeProjectMemberProfileViewModel (); viewModel.MemberLoaded += this.MemberLoaded; }