drag-sort-listview
drag-sort-listview copied to clipboard
Scale row + float view
I want to have an animation that scales up the row that is being re-ordered. I placed this code inside startDrag(int, int, int, int) but it is only getting hit after the row has been dropped
View view = getChildAt(position); PropertyValuesHolder pvhX = PropertyValuesHolder.ofFloat(View.SCALE_X, 1.1f); PropertyValuesHolder pvhY = PropertyValuesHolder.ofFloat(View.SCALE_Y, 1.1f); ObjectAnimator scaleAnimation = ObjectAnimator.ofPropertyValuesHolder(view, pvhX, pvhY); scaleAnimation.start();
Any help would be appreciated!