Home Android LoyalNativeSilder

Android LoyalNativeSilder

Android LoyalNativeSilder

Loyal Native Slider

Android Arsenal Download Android Gems ![Gitter](https://badges.gitter.im/Join Chat.svg)

Throughput Graph

This is an amazing image slider for the Android platform. I decided to open source this because there is really not an attractive, convenient slider widget in Android. You can easily load images from an internet URL, drawable, or file. And there are many kinds of amazing animations you can choose. 😀

Demo Apk

Please also check the latest release testing apk from the log history


Step 1



JCenter is the place to find and share popular Apache Maven packages for use by Maven, Gradle, Ivy, SBT, etc. For the most comprehensive collection of artifacts, point your Maven at: http://jcenter.bintray.com

dependencies {
    compile 'com.hkm.loyalslider:library:1.10.1'

Step 2 - setup the xml

Add permissions (if necessary) to your AndroidManifest.xml

<!-- if you want to load images from the internet -->
<uses-permission android:name="android.permission.INTERNET" />

<!-- if you want to load images from a file OR from the internet -->
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

Note: If you want to load images from the internet, you need both the INTERNET and READ_EXTERNAL_STORAGE permissions to allow files from the internet to be cached into local storage.

If you want to load images from drawable, then no additional permissions are necessary.

Step 3

Add the Slider to your layout:


There are some default indicators. If you want to use a provided indicator you can add this optionally


Step 4

Implement the SliderLayout component in the fragment or activity

Step 5

making some small adjustments

Step 6

setup the slider layout either by your own custom extension or using the existing provided slides from the folder SlideType

Step 7

binding data from json or your own data providers

Step 8

completion of the arrayList with your own type T , T as your data type

Step 9

call mSliderLayout.loadSliderList or .addSliderList or .addSlider independently. finally, check the result. For more variant and options you may



zoom in slider multislide

New Version Demo:

Mobile Testing multiple screens support Tablet Testing



This is the attribute support set for SliderLayout

indicator_visibilitydisable or enable the visible area in the whole component. options: visible, invisable
auto_cycleoption to enable or disable auto cycle
pager_animationanimation list of choices. page animation
pager_animation_spanthe page animation time span
auto_cycleoption to enable or disable auto cycle
slide_dot_limitslide dot limit
lns_use_presentationchoices of presentation on the slider. options: Smart, Dots, Numbers
image_button_lreference of drawable for the left arrow button to enable previous slide
image_button_rreference of drawable for the right arrow button to enable next slide
slider_side_buttonsenable or disable the arrow buttons on each right or left side

Advanced usage

Visit the Transform Wiki Please visit Wiki for the mother library

Thanks for the Reference

If there are someone who I do not mention here, please accept my sincere appologies and tell me.

Bitcoin Donation Accepted

wallet Open Donation - USD: OPEN


Copyright 2016 jjHesk

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


Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.

About me

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    7 − three =

    Leave a Comment

    5 × 3 =