I need to check when the progressbar animation is done.
Then i need to do something.
I already have this:
private ObjectAnimator progressAnimator;
mProgressBar = (ProgressBar)findViewById(R.id.progressbar);
mProgressBar.setMax(1000);
progressAnimator = ObjectAnimator.ofInt(mProgressBar, "progress", 1000, 0);
progressAnimator.setDuration(10000);
progressAnimator.start();
How to check if this animation is done??