public class HingeTransformation extends java.lang.Object implements SliderPager.PageTransformer
| Constructor and Description |
|---|
HingeTransformation() |
| Modifier and Type | Method and Description |
|---|---|
void |
transformPage(android.view.View page,
float position)
Apply a property transformation to the given page.
|
public void transformPage(android.view.View page,
float position)
SliderPager.PageTransformertransformPage in interface SliderPager.PageTransformerpage - Apply the transformation to this pageposition - Position of page relative to the current front-and-center
position of the pager. 0 is front and center. 1 is one full
page position to the right, and -1 is one page position to the left.