Skip to content

Commit

Permalink
Deprecate setCircleBackgroundColorResource
Browse files Browse the repository at this point in the history
  • Loading branch information
hdodenhof committed Mar 17, 2020
1 parent accab58 commit eec3d96
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@ public void setCircleBackgroundColor(@ColorInt int circleBackgroundColor) {
invalidate();
}

/**
* @deprecated Use {@link #setCircleBackgroundColor(int)} instead
*/
@Deprecated
public void setCircleBackgroundColorResource(@ColorRes int circleBackgroundRes) {
setCircleBackgroundColor(getContext().getResources().getColor(circleBackgroundRes));
}
Expand Down

0 comments on commit eec3d96

Please sign in to comment.