private void setNewValue(int newValue) { if (isPersistent() && callChangeListener(newValue)) persistInt(newValue); mValue = newValue; if (mColorIndicator != null) mColorIndicator.setColor(newValue); }
@Override protected void onBindView(View view) { super.onBindView(view); mColorIndicator.setColor(mValue); }