Java Code Examples for android.graphics.drawable.AnimatedVectorDrawable#clearAnimationCallbacks()
The following examples show how to use
android.graphics.drawable.AnimatedVectorDrawable#clearAnimationCallbacks() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AnimatedVectorDrawableCompat.java From Bop with Apache License 2.0 | 4 votes |
public static void removeAllListeners(AnimatedVectorDrawable drawable) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { drawable.clearAnimationCallbacks(); } }
Example 2
Source File: AnimatedVectorDrawableCompat.java From Music-Player with Apache License 2.0 | 4 votes |
public static void removeAllListeners(AnimatedVectorDrawable drawable) { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { drawable.clearAnimationCallbacks(); } }