ShowMethod.java
815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package immortalz.me.library.method;
import android.animation.AnimatorSet;
import android.view.View;
import android.widget.ImageView;
import immortalz.me.library.bean.InfoBean;
import immortalz.me.library.view.RenderView;
/**
* Created by Mr_immortalZ on 2016/10/24.
* email : mr_immortalz@qq.com
*/
public abstract class ShowMethod {
public AnimatorSet set = new AnimatorSet();
protected int duration = 500;
public abstract void translate(InfoBean bean, RenderView parent, View child);
/**
* load copyView which just a temp view.
* the copyView is show when it's translating.
*/
public abstract void loadCopyView(InfoBean bean,ImageView copyView);
/**
* load targetView
*/
public void loadTargetView(InfoBean bean, ImageView targetView){
}
}