Beispiel #1
0
 protected override void UpdateView()
 {
     CalendarNameLabel.Text = Item.Name;
     IsSelectedSwitch.SetState(Item.Selected, animated: false);
 }
Beispiel #2
0
 public void UpdateView(bool animate)
 {
     CalendarNameLabel.Text = Item.Name;
     IsSelectedSwitch.SetState(Item.Selected, animate);
 }
Beispiel #3
0
 public void ToggleSwitch()
 {
     IsSelectedSwitch.SetState(!IsSelectedSwitch.On, animated: true);
 }