Skip to content

A lightweight viewpager indicator like in nexus 5 launcher

Notifications You must be signed in to change notification settings

netcosports/CircleIndicator

 
 

Repository files navigation

CircleIndicator

A lightweight viewpager indicator like in nexus 5 launcher

All the credits goes to the original repository

Since two MR affecting the performance of an app have been rejected this fork have moved to his own direction.

CircleIndicator

Gradle

Please consider using the original library

version 1.1.8 (minSdkVersion="11")

allprojects {
    repositories {
        mavenCentral()
        maven {
            url 'https://github.com/netcosports/maven/raw/master/'
        }
    }
}


dependencies {
    compile 'com.netcosports:circleindicator:1.1.8@aar'
}

Usage

	<com.netcosports.circleindicator.CircleIndicator
        android:layout_width="fill_parent"
        android:layout_height="40dp"/>
    CircleIndicator circleIndicator =  (CircleIndicator) findViewById(R.id.vp_indicator);
    circleIndicator.setViewPager(viewPager);

#####Properties:

  • app:ci_width
  • app:ci_height
  • app:ci_margin
  • app:ci_drawable
  • app:ci_drawable_unselected
  • app:ci_animator
  • app:ci_animator_reverse
  • app:ci_animator_insert
  • app:ci_animator_remove

ChangeLog

1.1.8 (2016-05-30)
  • support multiple insertion and deletion at the same time.
1.1.7 (2016-03-31)
  • indicate that indicator hasn't overlapping rendering in order to remove performance issues.
1.1.6 (2015-09-02)
  • support insertion and deletion
1.1.5 (2015-06-28)
  • Fix bug (#22)
1.1.4 (2015-06-03)
  • Fix bug (#17)
  • SetOnPageChangeListener is deprecated, Please use ViewPager addOnPageChangeListener (v4 support lirbray revision 22.2.0)
  • minSdkVersion="11"
1.1.3 (2015-04-15)
  • Fix bug (#12)
1.1.2 (2015-03-10)
  • Fix bug (#9)
  • Add a property : ci_drawable_unselected (#6)
1.1.1 (2015-01-08)
  • Fix default animator
  • Add a property : ci_animator_reverse
1.1.0 (2014-12-29)
  • Remove NineOldAndroids dependency
  • minSdkVersion="14"
1.0.0 (2014-08-01)
  • Initial release. (minSdkVersion="8")

License

Copyright (C) 2014 relex
Copyright (C) 2015 Netcosports

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.

About

A lightweight viewpager indicator like in nexus 5 launcher

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%