protected async override void OnCreate(Bundle bundle) { base.OnCreate(bundle); SetContentView(Resource.Layout.view_stats); var name = Intent.GetStringExtra("name"); var id = Intent.GetStringExtra("id"); viewModel = new StatisticsViewModel(Mvx.Resolve <IMeetupService>(), Mvx.Resolve <IDataService>()); viewModel.Init(id, name); SupportActionBar.Title = viewModel.GroupName; barChart = FindViewById <BarChartView>(Resource.Id.barChart); barChart.LegendColor = Color.Black; progressBar = FindViewById <ProgressBar>(Resource.Id.progressBar); viewModel.ShowPopUps = false; // Perform any additional setup after loading the view, typically from a nib. }