What is an alternative to using the com.nineoldandroids library

I want to replace the dependency of the com.nineoldandroids library on my project and replace it with the native Android library.

I am trying to create a project based on this http://www.tutecentral.com/android-swipe-listview/ . However, I do not need to support Android versions smaller than v11. Therefore, there is no need to use this library. But I can not find what to use in its place, without making changes to the code itself.

The project imports classes

import com.nineoldandroids.animation.Animator;
import com.nineoldandroids.animation.AnimatorListenerAdapter;
import com.nineoldandroids.animation.ValueAnimator;
import com.nineoldandroids.view.ViewHelper;
import static com.nineoldandroids.view.ViewHelper.setAlpha;
import static com.nineoldandroids.view.ViewHelper.setTranslationX;
import static com.nineoldandroids.view.ViewPropertyAnimator.animate;

Thank.

+4
source share
1 answer

, .

@Selvin , :

1.)
2.) ValueAnimator android.animation
3.) ViewHelper , .

:

ViewHelper.setScaleX -> view.setScaleX
ViewHelper.setY -> view.setY
ViewHelper.setAlpha -> view.setAlpha

, .

+5

All Articles