This is an amazing image slider in Android platform. I decide to open source this because there is really not an attractive,and convenient slide widget in Android.
You can easily load image from net,drawable or file. And there are many kind of amazing animations you can choose. :-D
##Demo
##Usage
Step1: add dependencies in build.gradle.
dependencies {
compile 'com.daimajia.slider:library:1.0.1@aar'
}
Step2: add storage
and internet
permission.
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Step3: add layout in your xml.
<com.daimajia.slider.library.SliderLayout
android:id="@+id/slider"
android:layout_width="match_parent"
android:layout_height="200dp"
/>
There are some default indicators, while,if you want to custom your own indicator:
<com.daimajia.slider.library.Indicators.PagerIndicator
android:id="@+id/custom_indicator"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
/>
====
##Adavanced usage
Please visit Wiki
##About me
A student in China mainland. I love Google, love Android, love everything that interesting. If you get any problems when using this library or you have an internship opportunity, please feel relax to email me. :-D