rohitksingh/Flurry


A simple android library project hosted on Jitpack.io and provides the functionality of Carousel and Image Slider

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.rohitksingh:Flurry-The-Carousel:1.0.3'
	}
	dependencies {
		implementation("com.github.rohitksingh:Flurry-The-Carousel:1.0.3")
	}
	<dependency>
	    <groupId>com.github.rohitksingh</groupId>
	    <artifactId>Flurry-The-Carousel</artifactId>
	    <version>1.0.3</version>
	</dependency>

                            
    libraryDependencies += "com.github.rohitksingh" % "Flurry-The-Carousel" % "1.0.3"
        
        

                            
    :dependencies [[com.github.rohitksingh/Flurry-The-Carousel "1.0.3"]]
        
        

Readme


Flurry The Carousel

Simple Android library, which can serve as Image Slider too !

Table of Contents

Gradle dependecy
Usage
Check the latest Version
Flurry step by step gradle integration for gradle beginners
About author

<a name="gradledependency"/>

Gradle:

compile 'com.github.rohitksingh:Flurry:1.0.3

<a name="Header"/>

How to integrate ?

If you are already familiar with gradle. Add the following code in your root build.gradle .
If you are new to gradle see below Step by step integration guide .

Add hosting repository url

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Add compile time dependency

dependencies {
   compile 'com.github.rohitksingh:Flurry:1.0.3'
}
<a name="usage"/>

Usage:

Add following code in your layout

<com.rohksin.flurry.Flurry
    android:id="@+id/flurry"
    android:layout_width="match_parent"
    android:layout_height="match_parent"/>

Add following code in your Activity

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);
   

    Flurry flurry = (Flurry)findViewById(R.id.flurry);
    
}
<a name ="latestVersion"/>

Check the latest Version:

You can find the latest version of Flurry in JitPack.io

<a name= "stepbystepgradle"/>

Flurry step by step gradle integration for gradle beginners:

1) Go to your project build.gradle and this

 allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
 }

repo

2) Go to app modile build.gradle and add this

  dependencies {
   compile 'com.github.rohitksingh:Flurry:1.0.3'
}

compile

3) Hit the sync Button

gradle

And you are done.

<a name="aboutAuthor"/>

</br></br>

About author

<p align="center">This Repository is developed and maintained by </p> <p align="center"> <a href="https://stackoverflow.com/users/4700156/rohit-singh?tab=profile"><img width="100" height="100" src="https://user-images.githubusercontent.com/11274840/30627155-38952a30-9dec-11e7-9072-a00d9a86bdb8.gif"> </p></a> <a href="https://stackoverflow.com/users/4700156/rohit-singh?tab=profile"> <p align="center"> Rohit Singh </p> </a>