Каков наилучший способ анимации строки списка?
Я продолжаю пробовать что-то вроде:
final Animation animation = AnimationUtils.loadAnimation(getActivity(), R.anim.translate_up_fade_anim);
animation.setAnimationListener(new AnimationListener() {
@Override
public void onAnimationStart(Animation animation) {
}
@Override
public void onAnimationRepeat(Animation animation) {
}
@Override
public void onAnimationEnd(Animation animation) {
dataSource.remove(index);
adapter.notifyDataSetChanged();
}
});
view.startAnimation(animation);
но анимация не совсем то, что я хочу. Я думаю, мне нужно оживить каждую другую строку списка, кроме удаленной, но я открыт для предложений.