protected override void OnAppearing() { TeapotState teapotState = Logic.GetTeapotState(); Water.Value = teapotState.currentWaterAmount; Temperature.Value = teapotState.currentTemperature; }
public TeapotDetails() { InitializeComponent(); TeapotState teapotState = Logic.GetTeapotState(); Water.Value = teapotState.currentWaterAmount; Temperature.Value = teapotState.currentTemperature; }