InfiniteIndicator alternatives and similar packages
Based on the "Progressbar/Progress View Widget" category.
Alternatively, view InfiniteIndicator alternatives based on common mentions on social networks and blogs.
-
AVLoadingIndicatorView
AVLoadingIndicatorView is a collection of nice loading animations for Android. -
NumberProgressBar
A beautiful, slim Android ProgressBar. -
SmoothProgressBar
A small Android library allowing you to have a smooth and customizable horizontal indeterminate ProgressBar -
LoadingDrawable
some android loading drawable, can be combined with any View as the loading View and Progressbar, and is especially suitable for the loading animation of the RecyclerRefreshLayout. -
Android-RoundCornerProgressBar
Round Corner Progress Bar Library for Android -
AndroidFillableLoaders
Android fillable progress view working with SVG paths. This is a nice option too if you want to create an interesting branding logo for your app. Based on the iOS project: -
KProgressHUD
An implement of ProgressHUD for Android, similar to MBProgressHUD, SVProgressHUD for iOS. -
android-square-progressbar
An android library to display a progressbar that goes around an image. -
android-HoloCircularProgressBar
Holo Circular ProgressBar -
AnimatedCircleLoadingView
An animated circle loading view -
MaterialLoadingProgressBar
MaterialLoadingProgressBar provide a styled ProgressBar which looks like SwipeRefreshLayout's loading indicator(support-v4 v21+) -
CircleProgressBar
A circular android ProgressBar library which extends ProgressBar, It has both solid and line two styles. Besides, progress value can be freely customized. -
DownloadProgressBar
Android progress bar with cool animation, inspired by : -
ColorArcProgressBar
A customizable circular progressbar, which can achieve the effect of the QQ health's arc progress and dashboard. -
RefreshActionItem
Android - An action bar item which acts both as a refresh button and as a progress indicator -
Dilating Dots Progress Bar
An animated progress indicator -
ProgressPieView
Android library for showing progress in a highly customizable pie. -
ColoringLoading
This project provide Coloring Loading View for Android. And this project is not using the image file! -
State Views for Android
Create & Show progress, data or error views, the easy way! -
Percentage Chart View
custom_view, progress_bar, chart -
circular-slider-android
Circular Slider is a custom-built Android View used for choosing numbers. It works similarly to the regular slider control (SeekBar), just goes around in a circular fashion - simple enough. Note that the thumb scroller (the thing you drag around) can be either a solid-color circle or a custom drawable (like a PNG image). -
ACProgressLite
A lightweight Android library to display customizable progressbar like iOS MBProgressHUD. -
SlidingSquaresLoader
A simple progress loader inspired by Can you Code this UI? Volume 6! - https://stories.uplabs.com/can-you-code-this-ui-volume-6-7bd09fa6dd92#.nyh2zhpvb -
DelayedProgress
ProgressDialog that waits a minimum time to be dismissed before showing. Once visible, the ProgressDialog will be visible for a minimum amount of time to avoid "flashes" in the UI. -
NumberPicker
A simple customizable NumberPicker plugin for Android -
StackedHorizontalProgressBar
💈 [Android Library] Stacked dual progress indicator progressbar -
N-SidedProgressBar
Progress Bar in the shape of regular polygon. -
FillProgressLayout
A simple and flexible Fillable Progress Layout written in Kotlin -
TerminalSeekBar
A smart seek bar with multiple junction points at random seek position.
Get performance insights in less than 4 minutes
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of InfiniteIndicator or a related project?
README
InfiniteIndicator
This project is inspired by the android-auto-scroll-view-pager of Trinea. Use the salvage lib implement view recycle adapter.It contains two style.One is CircleIndicator seperated from Android-ViewPagerIndicator.Another is copy from CircleIndicator.You can custome style and animation.
Screenshot
Demo Download
APK Donwload
Setting
You can config all feature in the IndicatorConfiguration
class.It adopt builder design pattern.
interval(long)
set interval time of scroll in milliseconds, default isDEFAULT_INTERVAL
.direction(int)
set scroll direction, default isRIGHT
.isLoop(boolean)
set whether still scroll when scroll to the end page,default is trueisAutoScroll(boolean)
whether start scroll while notiyDataChange.scrollDurationFactor(double)
set the factor of scroll durationisStopWhenTouch(boolean)
whether stop scroll while touching, default is true.position
set the position of indicator.More value,you can referenceIndicatorConfiguration.IndicatorPosition
enumviewBinder
set custom view binder to handle page load logic,default provide BaseViewBinder, which just support image load,and you must provide a imageloader,if you want to load complex page ,you can provide a custome viewbinder,and imageloader is useless.onPageChangeListener
set click listener to pageimageLoader(ImageLoader)
set the loader engine to load image while page sliding.You can use any image loader library you what,there are several imageloader of Glide ,Picasso and UIL,decide how to load image,is absolutely free.
indicator_type
the style of Indicator,you can set indicator_type
attribute in the xml
layout to change the indicator style.
indicator_default
CirCleIndicatorindicator_anim_circle
AnimCircleIndicatorindicator_anim_line
AnimLineIndicator
Including In Your Project
compile 'cn.lightsky.infiniteindicator:library:1.2.2'
Usage
<cn.lightsky.infiniteindicator.InfiniteIndicatorLayout
android:id="@+id/indicator_default_circle"
app:indicator_type="indicator_anim_circle"
android:layout_height="wrap_content"
android:layout_width="match_parent"/>
class AnimIndicatorActivity extends FragmentActivity implements ViewPager.OnPageChangeListener,OnPageClickListener {
private ArrayList<Page> pageViews;
private InfiniteIndicator mAnimCircleIndicator;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_anim_indicator);
initData();
mAnimCircleIndicator = (InfiniteIndicator) findViewById(R.id.infinite_anim_circle);
IndicatorConfiguration configuration = new IndicatorConfiguration.Builder()
.imageLoader(new UILoader())
.isStopWhileTouch(true)
.onPageChangeListener(this)
.onPageClickListener(this)
.direction(LEFT)
.position(IndicatorConfiguration.IndicatorPosition.Center)
.build();
mAnimCircleIndicator.init(configuration);
mAnimCircleIndicator.notifyDataChange(pageViews);
}
private void initData() {
pageViews = new ArrayList<>();
pageViews.add(new Page("A", "https://raw.githubusercontent.com/lightSky/InfiniteIndicator/master/res/a.jpg",this));
pageViews.add(new Page("B", "https://raw.githubusercontent.com/lightSky/InfiniteIndicator/master/res/b.jpg",this));
pageViews.add(new Page("C", "https://raw.githubusercontent.com/lightSky/InfiniteIndicator/master/res/c.jpg",this));
pageViews.add(new Page("D", "https://raw.githubusercontent.com/lightSky/InfiniteIndicator/master/res/d.jpg",this));
}
//To avoid memory leak ,you should release the res
@Override
protected void onPause() {
super.onPause();
mAnimCircleIndicator.stop();
}
@Override
protected void onResume() {
super.onResume();
mAnimCircleIndicator.start();
}
@Override
public void onPageSelected(int position) {
//do something
}
@Override
public void onPageClick(int position, Page page) {
//do something
}
@Override
public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {
}
@Override
public void onPageScrollStateChanged(int state) {
}
}
Thanks
android-auto-scroll-view-pager
AndroidImageSlider
CircleIndicator
Android-ViewPagerIndicator
About me
Weibo: light_sky
Blog: lightskystreet.com light_sky
Email: [email protected]