A Carousel picker library for android which supports both text and icons . :sparkles:
A Carousel picker library for android which supports both text and icons . :sparkles:
A Carousel picker library for android which supports both text and icons . :pouting_cat:
Add this in your root build.gradle file at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}Add the dependency :
dependencies {
implementation 'com.github.GoodieBag:CarouselPicker:v1.2'
// v1.2 is the latest release with vertical orientation and font styling options.
// For the previous stable release use v1.1
}Sync the gradle and that's it! :+1:
items_visible represents the number of pages visible on the screen. Three, five and seven are the available options.
Carousel picker supports both images and text or a mixture of both !
…adapter.setTextColor(colorInt)carouselPicker.addOnPageChangeListener(new ViewPager.OnPageChangeListener() {
@Override
public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
}
@Override
public void onPageSelected(int position) {
//position of the selected item
}
@Override
public void onPageScrollStateChanged(int state) {
}
});…No open issues yet, or sync has not completed.