AndroidImageSlider Library

An amazing and convenient Android image slider.

Лицензия

Лицензия

MIT
Категории

Категории

IDE Инструменты разработки
Группа

Группа

com.daimajia.slider
Идентификатор

Идентификатор

library
Последняя версия

Последняя версия

1.1.5
Дата

Дата

Тип

Тип

aar
Описание

Описание

AndroidImageSlider Library
An amazing and convenient Android image slider.
Ссылка на сайт

Ссылка на сайт

https://github.com/daimajia/AndroidImageSlider
Система контроля версий

Система контроля версий

https://github.com/daimajia/AndroidImageSlider

Скачать library

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.daimajia.slider/library/ -->
<dependency>
    <groupId>com.daimajia.slider</groupId>
    <artifactId>library</artifactId>
    <version>1.1.5</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.daimajia.slider/library/
implementation 'com.daimajia.slider:library:1.1.5'
// https://jarcasting.com/artifacts/com.daimajia.slider/library/
implementation ("com.daimajia.slider:library:1.1.5")
'com.daimajia.slider:library:aar:1.1.5'
<dependency org="com.daimajia.slider" name="library" rev="1.1.5">
  <artifact name="library" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.daimajia.slider', module='library', version='1.1.5')
)
libraryDependencies += "com.daimajia.slider" % "library" % "1.1.5"
[com.daimajia.slider/library "1.1.5"]

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
com.nineoldandroids : library jar 2.4.0
com.android.support » appcompat-v7 jar 22.1.1
com.android.support » support-v4 jar 22.1.1
com.squareup.picasso : picasso jar 2.5.2

Модули Проекта

Данный проект не имеет модулей.

Android Image Slider Build Status

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

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. :-D

Demo

Download Apk

Usage

Step 1

Gradle

dependencies {
    	compile "com.android.support:support-v4:+"
    	compile 'com.squareup.picasso:picasso:2.3.2'
    	compile 'com.nineoldandroids:library:2.4.0'
    	compile 'com.daimajia.slider:library:1.1.5@aar'
}

Maven

<dependency>
    <groupId>com.squareup.picasso</groupId>
    <artifactId>picasso</artifactId>
    <version>2.3.2</version>
</dependency>
<dependency>
    <groupId>com.nineoldandroids</groupId>
    <artifactId>library</artifactId>
    <version>2.4.0</version>
</dependency>
<dependency>
    <groupId>com.daimajia.slider</groupId>
    <artifactId>library</artifactId>
    <version>1.1.2</version>
    <type>apklib</type>
</dependency>

Eclipse

For Eclipse users, I provided a sample project which orgnized as Eclipse way. You can download it from here, and make some changes to fit your project.

Notice: It's the version of 1.0.9, it may not update any more. You can update manually by yourself.

Step 2

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:

<com.daimajia.slider.library.SliderLayout
        android:id="@+id/slider"
        android:layout_width="match_parent"
        android:layout_height="200dp"
/>

There are some default indicators. If you want to use a provided 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"
        />

Code example

====

Advanced usage

Please visit Wiki

Thanks

##About me

I am a student in mainland China. I love Google, love Android, love everything that is interesting. If you get any problems when using this library or you have an internship opportunity, please feel free to email me. 😃

Версии библиотеки

Версия
1.1.5
1.1.2
1.1.1
1.1.0
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0