Polidea/android-coverflow


Simple implementation of android's cover flow widget.

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.Polidea:android-coverflow:'
	}
	dependencies {
		implementation("com.github.Polidea:android-coverflow:")
	}
	<dependency>
	    <groupId>com.github.Polidea</groupId>
	    <artifactId>android-coverflow</artifactId>
	    <version></version>
	</dependency>

                            
    libraryDependencies += "com.github.Polidea" % "android-coverflow" % ""
        
        

                            
    :dependencies [[com.github.Polidea/android-coverflow ""]]
        
        

Readme



This repository is no longer maintained. Issue reports and pull requests will not be attended.


Simple implementation of android's cover flow widget. It is largely based on excellent code from Neil http://www.inter-fuser.com/2010/02/android-coverflow-widget-v2.html

Example activity which is embedded into the library is shown below:

android-coverflow

Main changes were about performance improvements, layering adapters (including Image reflection layer), packaging as library project + custom attributes, so that cover flow can be configured in XML.

Example of usage is here:

CoverFlowTestingActivity.java

And here:

main.xml