public class DescriptionAnimation extends Object implements BaseAnimationInterface
BaseAnimationInterface
to make your custom animation in ViewPagerEx.PageTransformer action.| 构造器和说明 |
|---|
DescriptionAnimation() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onCurrentItemDisappear(View view)
Current item totally disappear from screen.
|
void |
onNextItemAppear(View view)
When next item show in ViewPagerEx, let's make an animation to show the
description layout.
|
void |
onPrepareCurrentItemLeaveScreen(View current)
When the current item prepare to start leaving the screen.
|
void |
onPrepareNextItemShowInScreen(View next)
When next item is coming to show, let's hide the description layout.
|
public void onPrepareCurrentItemLeaveScreen(View current)
BaseAnimationInterfacepublic void onPrepareNextItemShowInScreen(View next)
onPrepareNextItemShowInScreen 在接口中 BaseAnimationInterfacenext - public void onCurrentItemDisappear(View view)
BaseAnimationInterfaceonCurrentItemDisappear 在接口中 BaseAnimationInterfacepublic void onNextItemAppear(View view)
onNextItemAppear 在接口中 BaseAnimationInterfaceview -