Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kaelaela/VerticalViewPager
Vertically ViewPager and vertically transformer for Android.
https://github.com/kaelaela/VerticalViewPager
android verticalviewpager viewpager
Last synced: 3 months ago
JSON representation
Vertically ViewPager and vertically transformer for Android.
- Host: GitHub
- URL: https://github.com/kaelaela/VerticalViewPager
- Owner: kaelaela
- License: apache-2.0
- Created: 2015-10-17T15:52:33.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-14T15:04:47.000Z (over 7 years ago)
- Last Synced: 2024-06-28T11:33:50.411Z (5 months ago)
- Topics: android, verticalviewpager, viewpager
- Language: Java
- Homepage:
- Size: 1.6 MB
- Stars: 1,230
- Watchers: 37
- Forks: 214
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
VerticalViewPager
===[![Build Status](https://travis-ci.org/kaelaela/VerticalViewPager.svg)](https://travis-ci.org/kaelaela/VerticalViewPager)
[![Platform](http://img.shields.io/badge/platform-android-brightgreen.svg?style=flat)](http://developer.android.com/index.html)
[![License](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-VerticalViewPager-green.svg?style=flat)](https://android-arsenal.com/details/1/2651)Vertically ViewPager and vertically transformer for Android.
This library is not copy ViewPager code. Extended class.![default](art/default.gif) ![zoom_out](art/zoom_out.gif) ![stack](art/stack.gif)
## Usage
```java
VerticalViewPager viewPager = new VerticalViewPager();
viewPager.setAdapter(adapter);
viewPager.setPageTransformer(false, new DefaultTransformer());//viewPager.setPageTransformer(false, new ZoomOutTransformer());
//viewPager.setPageTransformer(true, new StackTransformer());```
## Download from Gradle
```groovy
dependencies {
compile 'me.kaelaela:verticalviewpager:1.0.0@aar'
}```
## Next
- [ ] Use with scrollable views(ListView, ScrollView, RecyclerView, WebView).
- [ ] Add more transformers.(Please contribute me!
- [ ] Sticky header.## Me
Yuichi Maekawa(Kaelaela)
* Twitter [@Yuichi0531](https://twitter.com/Yuichi0531)
* [email protected]License
-------
Copyright (C) 2015 kaelaela
Copyright (C) 2013 The Android Open Source ProjectLicensed 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 athttp://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.