IT. Expert System.

Android Reference

ViewPager.PageTransformer


android.support.v4.view

Interface ViewPager.PageTransformer

  • Enclosing class:
    ViewPager


    public static interface ViewPager.PageTransformer
    A PageTransformer is invoked whenever a visible/attached page is scrolled. This offers an opportunity for the application to apply a custom transformation to the page views using animation properties.

    As property animation is only supported as of Android 3.0 and forward, setting a PageTransformer on a ViewPager on earlier platform versions will be ignored.

    • Method Summary

      Methods
      Modifier and Type Method and Description
      void transformPage(View page, float position)
      Apply a property transformation to the given page.
    • Method Detail

      • transformPage

        void transformPage(View page,
                         float position)
        Apply a property transformation to the given page.
        Parameters:
        page - Apply the transformation to this page
        position - 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.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1121 / . Delta: 0.02229 с