kibotu / recyclerviewItemDecorations

ItemDecoration for Android Recyclerview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RecyclerView ItemDecorations API

Circle CI

This project is about showcasing and trying out ItemDecorations for RecyclerViews. There's some blog posts on this topic already Here and Here covering the basics on how to use decorations.

  • Tried adding some CardLayout like Decoration to a RecyclerView.
  • Made a lightweight header decoration with shadow and / or parallax effect

Header Decoration

  • Added a decoration for dismissing items to draw in the background like gmail

Dismissing items

  • Added some Parallax Like effect on a header

Screenshot

How to

To get a Git project into your build:

Step 1. Add the JitPack repository to your build file

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

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

Step 2. Add the dependency

dependencies {
        compile 'com.github.kibotu:recyclerviewItemDecorations:-SNAPSHOT'
}

About

ItemDecoration for Android Recyclerview

License:MIT License


Languages

Language:Java 100.0%