Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/farukcankaya/rtlviewpagerindicator

Paging indicator widgets compatible with the RtlViewPager. It is inspired from the JakeWharton's ViewPagerIndicator but it supports RTL layout.
https://github.com/farukcankaya/rtlviewpagerindicator

Last synced: about 1 month ago
JSON representation

Paging indicator widgets compatible with the RtlViewPager. It is inspired from the JakeWharton's ViewPagerIndicator but it supports RTL layout.

Awesome Lists containing this project

README

        

# RtlViewPagerIndicator
Paging indicator widgets compatible with the RtlViewPager. It is inspired from the JakeWharton's ViewPagerIndicator but it supports RTL layout.

[ ![Download](https://api.bintray.com/packages/farukcankaya/maven/RtlViewPagerIndicator/images/download.svg) ](https://bintray.com/farukcankaya/maven/RtlViewPagerIndicator/_latestVersion)

# Showcase

| LTR | RTL |
| ------------- |:-------------:|
| | |

# Usage
Now, it is in jCenter!!

### First step
Put code below to your build.gradle file that is under /app directory:
```java
dependencies {
...
compile 'com.farukcankaya.rtlviewpagerindicator:1.0.0'
}
```

### Second step
Add `CircleIndicator` to your xml file:
```xml

```

### Final step
Setup viewpager in your Activity or Fragment:
```java
CircleIndicator rtlCircleIndicator = (CircleIndicator) findViewById(R.id.rtl_view_pager_indicator);
rtlCircleIndicator.setViewPager(rtlViewPager);
```
You can find working example in **app** module.

# Available Indicators

- [x] Circle
- [ ] Icon
- [ ] Ics
- [ ] Line
- [ ] Title
- [ ] Tab
- [ ] Underline

# License
````
Copyright (c) 2017 Faruk Cankaya

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.
````