Code Monkey home page Code Monkey logo

android-viewpager-transition's Introduction

Android-ViewPager-Transition

简介

Android-ViewPager-Transition 是基于ViewPager的切换效果制作,目前只有Flip一种,会逐步追加其他效果。

p.s.我是github新手,开项目只是记录自己平时做的效果,代码写的并不好,如果我的代码能够被使用到非常荣幸,如果有问题可以提出我会尽力修改:)

效果预览

Flip

image

  • 主要实现:com.song.transitionlib.FlipTransformer
  • 使用方式:mViewPager.setPageTransformer(true, new FlipTransformer());

使用

AndroidStudio

  • build.gradle中添加
	compile 'com.song.transitionlib:transitionlib:0.0.2'

Eclipse

  • 下载zip后解压,导入TransitionLib使用

##License

Copyright 2016 Song

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

android-viewpager-transition's People

Contributors

midoriinu1 avatar

Stargazers

Anuchit Singkhornart avatar Mozi avatar 夏学良 avatar  avatar

Watchers

James Cloos avatar  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.