Example #1
0
 public DetailsPage(Installation installation)
 {
     InitializeComponent();
     viewModel = new DetailsViewModel(new MeasurementsService());
     viewModel.Installation = installation;
     viewModel.GetMeasurementInfoAsync().GetAwaiter();
     BindingContext = viewModel;
 }