Coder Social home page Coder Social logo

vercent / android-pageturning Goto Github PK

View Code? Open in Web Editor NEW

This project forked from saiwu-bigkoo/android-convenientbanner

0.0 1.0 0.0 780 KB

Simple and convenient ViewPager,一行代码配置ViewPager,而且默认提供比较多的翻页动画效果

Java 100.00%

android-pageturning's Introduction

PageTurning

Simple and convenient ViewPager 超简单的Viewpager控件,实现一行代码配置ViewPager,而且默认提供比较多的翻页动画效果,也可以自定义动画效果,自定循环翻页。用了你会爱上它,实在时太便利了。玲珑小巧!

Demo

<com.pageturning.PageTurningView 
        android:id="@+id/pageTurningView "
        android:layout_width="match_parent"
        android:layout_height="200dp"/>
pageTurningView.setItems(pageViews).setPageIndicator(new int[]{R.drawable.ic_page_indicator,R.drawable.ic_page_indicator_focused}).startTurning(5000).setPageTransformer(Transformer.AccordionTransformer);

以上例子图片是借的,因为本人很懒,效果差不多将就看吧

Thanks

android-pageturning's People

Contributors

saiwu-bigkoo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.