Skip to content

Commit

Permalink
Merge pull request #5 from molaeiali/master
Browse files Browse the repository at this point in the history
add a method to the lib to return textview
  • Loading branch information
nex3z authored Mar 24, 2018
2 parents 1a42700 + a11c3da commit 1b1ec2e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,10 @@ public void setBadgeBackgroundResource(int resId) {
mIvBadgeBg.setImageResource(resId);
}

public TextView getTextView(){
return mTvBadgeText;
}

private void initUpdateAnimation() {
mUpdate = new ScaleAnimation(1, 1.2f, 1, 1.2f,
Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f);
Expand Down

0 comments on commit 1b1ec2e

Please sign in to comment.