Beispiel #1
0
 /// <summary>
 /// Sets the state of the view.
 /// </summary>
 public override async Task SetState(string state, bool animate = true, float initialDelay = 0)
 {
     if (state.IEquals(_previousState))
     {
         return;
     }
     RadioButtonImageView.SetState(state, animate, initialDelay);
     RadioButtonLabel.SetState(state, animate, initialDelay);
     await base.SetState(state, animate, initialDelay);
 }
Beispiel #2
0
        /// <summary>
        /// Sets the state of the view.
        /// </summary>
        public override void SetState(string state)
        {
            if (state.IEquals(_previousState))
            {
                return;
            }

            base.SetState(state);
            RadioButtonImageView.SetState(state);
            RadioButtonLabel.SetState(state);
        }