(Animator play, Animator with, AnimatorListenerAdapter adapter)
| 485 | } |
| 486 | |
| 487 | private AnimatorSet getAnimator(Animator play, Animator with, AnimatorListenerAdapter adapter) { |
| 488 | AnimatorSet animatorSet = new AnimatorSet(); |
| 489 | if (with != null) { |
| 490 | animatorSet.playSequentially(play, with); |
| 491 | } else |
| 492 | animatorSet.play(play); |
| 493 | animatorSet.addListener(adapter); |
| 494 | return animatorSet; |
| 495 | } |
| 496 | |
| 497 | @Override |
| 498 | public void onBackPressed() { |
no test coverage detected