public UIBenchmarkPage() { uIBenchmarkMV = new UIBenchmarkViewModel(); InitializeComponent(); BindingContext = uIBenchmarkMV; }
protected override void OnCreate(Bundle savedInstanceState) { UIBenchmarkViewModel = new UIBenchmarkViewModel(); base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.actvity_ui_benchmark); InformationListView = FindViewById <ListView>(Resource.Id.listview_ui_benchmark); InformationListView.Adapter = new InformationAdapter(UIBenchmarkViewModel.InformationItems); }