@Override public void addStateBackgroundResource( StateType state, float radius, boolean justBorder, float borderWidth, @ColorRes int colorRes) { mSpeedySelectorDelegate.addStateBackgroundResource( state, radius, justBorder, borderWidth, colorRes); }
@Override public void addStateBackgroundResource(StateType state, float radius, @ColorRes int colorRes) { mSpeedySelectorDelegate.addStateBackgroundResource(state, radius, colorRes); }
@Override public void addStateBackground( StateType state, float radius, boolean justBorder, @ColorInt int color) { mSpeedySelectorDelegate.addStateBackground(state, radius, justBorder, color); }
@Override public void addStateBackgroundResource(StateType state, @DrawableRes int draRes) { mSpeedySelectorDelegate.addStateBackgroundResource(state, draRes); }
@Override public void addStateBackground(StateType state, Drawable drawable) { mSpeedySelectorDelegate.addStateBackground(state, drawable); }
@TargetApi(Build.VERSION_CODES.LOLLIPOP) public SelectorButton(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) { super(context, attrs, defStyleAttr, defStyleRes); mSpeedySelectorDelegate = SpeedySelectorDelegate.obtainGeneral(this, attrs, defStyleAttr, defStyleRes); }
public SelectorButton(Context context, AttributeSet attrs, int defStyleAttr) { super(context, attrs, defStyleAttr); mSpeedySelectorDelegate = SpeedySelectorDelegate.obtainGeneral(this, attrs, defStyleAttr); }
public SelectorButton(Context context) { super(context); mSpeedySelectorDelegate = SpeedySelectorDelegate.obtainGeneral(this); }
@Override public void requestSelector() { mSpeedySelectorDelegate.requestSelector(); }
@Override public void addTextStateColorResource(StateType state, @ColorRes int colorRes) { mSpeedySelectorDelegate.addTextStateColorRessource(state, colorRes); }
@Override public void addTextStateColor(StateType state, @ColorInt int color) { mSpeedySelectorDelegate.addTextStateColor(state, color); }
@Override public void setTextColorResource(@ColorRes int resId) { mSpeedySelectorDelegate.setTextColorRessource(resId); }