android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:3147)
Fix was simple but no idea why works.
In the AnimationListener
's onAnimationEnd
callback I had a callback which triggered notifyDataSetChanged
. I add that callback into Runnable
and ran the Runnable
with getView().post
@Override
public void onAnimationEnd(Animation animation) {
getView().post(new Runnable() {
@Override
public void run() {
// notifyDataSetChanged here
}
});
}