upon onClickListener, I am starting an animation on textView (icon)
Animation anim = AnimationUtils
.loadAnimation(activity.getBaseContext(), R.anim.rotate_refresh);
icon.startAnimation(anim);
Run Code Online (Sandbox Code Playgroud)
on clicking again, I want to check, if the icon is animating (rotating) , keep it that way or else start the animation again.
I want to know how can I check textview is in animation?
在Android KitKat版本之后,我们可以通过"Telephony.sms.getDefaultSmsPackage(context);"找到默认的sms包名.但是如何在KitKat版本之前获得包名?