1fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase/*
2fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase * Copyright (C) 2010 The Android Open Source Project
3fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase *
4fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase * Licensed under the Apache License, Version 2.0 (the "License");
5fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase * you may not use this file except in compliance with the License.
6fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase * You may obtain a copy of the License at
7fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase *
8fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase *      http://www.apache.org/licenses/LICENSE-2.0
9fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase *
10fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase * Unless required by applicable law or agreed to in writing, software
11fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase * distributed under the License is distributed on an "AS IS" BASIS,
12fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase * See the License for the specific language governing permissions and
14fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase * limitations under the License.
15fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase */
16fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase
17fe591563f8529305bd52e1f0640e83b9a93d562fChet Haasepackage android.animation;
18fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase
19fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase/**
20a18a86b43e40e3c15dcca0ae0148d641be9b25feChet Haase * This adapter class provides empty implementations of the methods from {@link android.animation.Animator.AnimatorListener}.
21fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase * Any custom listener that cares only about a subset of the methods of this listener can
22fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase * simply subclass this adapter class instead of implementing the interface directly.
23fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase */
24a18a86b43e40e3c15dcca0ae0148d641be9b25feChet Haasepublic abstract class AnimatorListenerAdapter implements Animator.AnimatorListener {
25fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase
26fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase    /**
279316232130fe831c998c9d7be9cf67294eccdcaeJoe Onorato     * {@inheritDoc}
28fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase     */
29fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase    @Override
30a18a86b43e40e3c15dcca0ae0148d641be9b25feChet Haase    public void onAnimationCancel(Animator animation) {
31fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase    }
32fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase
33fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase    /**
349316232130fe831c998c9d7be9cf67294eccdcaeJoe Onorato     * {@inheritDoc}
35fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase     */
36fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase    @Override
37a18a86b43e40e3c15dcca0ae0148d641be9b25feChet Haase    public void onAnimationEnd(Animator animation) {
38fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase    }
39fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase
40fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase    /**
419316232130fe831c998c9d7be9cf67294eccdcaeJoe Onorato     * {@inheritDoc}
42fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase     */
43fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase    @Override
44a18a86b43e40e3c15dcca0ae0148d641be9b25feChet Haase    public void onAnimationRepeat(Animator animation) {
45fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase    }
46fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase
47fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase    /**
489316232130fe831c998c9d7be9cf67294eccdcaeJoe Onorato     * {@inheritDoc}
49fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase     */
50fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase    @Override
51a18a86b43e40e3c15dcca0ae0148d641be9b25feChet Haase    public void onAnimationStart(Animator animation) {
52fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase    }
53fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase
54fe591563f8529305bd52e1f0640e83b9a93d562fChet Haase}
55