/// <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; } CheckBoxImageView.SetState(state, animate, initialDelay); CheckBoxLabel.SetState(state, animate, initialDelay); await base.SetState(state, animate, initialDelay); }
/// <summary> /// Sets the state of the view. /// </summary> public override void SetState(string state) { if (state.IEquals(_previousState)) { return; } base.SetState(state); CheckBoxImageView.SetState(state); CheckBoxLabel.SetState(state); }