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