Hackforid/FancyCoverFlow


A cool Open Source CoverFlow view for Android with several fancy effects. http://davidschreiber.github.io/FancyCoverFlow/

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

                            
    libraryDependencies += "com.github.Hackforid" % "FancyCoverFlow" % "1.0"
        
        

                            
    :dependencies [[com.github.Hackforid/FancyCoverFlow "1.0"]]
        
        

Readme


FancyCoverFlow

This project is a fork version of FancyCoverFlow, that add gradle support.

You can use it by:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}
dependencies {
    compile 'com.github.Hackforid:FancyCoverFlow:1.0'
}

What is FancyCoverFlow?

FancyCoverFlow is a flexible Android widget providing out of the box view transformations to give your app a unique look and feel. Curious about what FancyCoverFlow can do for you? Check out the FancyCoverFlow examples on Google Play.

Google Play Link FancyCoverFlow Framed Screenshot

How to use?

Using FancyCoverFlow in your Android app is as simple as

fancyCoverFlow = new FancyCoverFlow(context);
fancyCoverFlow.setMaxRotation(45);
fancyCoverFlow.setUnselectedAlpha(0.3f);
fancyCoverFlow.setUnselectedSaturation(0.0f);
fancyCoverFlow.setUnselectedScale(0.4f);

You can also inflate FancyCoverFlow from XML:

<at.technikum.mti.fancycoverflow.FancyCoverFlow
        android:layout_width="match_parent"
    	android:layout_height="match_parent"
        fcf:maxRotation="45"
        fcf:unselectedAlpha="0.3"
    	fcf:unselectedSaturation="0.0"
        fcf:unselectedScale="0.4" />