Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
achmadqomarudin committed Jul 4, 2020
1 parent e422532 commit 23a9939
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ShimmerRecyclerView
# Shimmer RecyclerView

[![Platform](https://img.shields.io/badge/platform-Android-yellow.svg)](https://www.android.com)
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg?style=flat-square)](https://www.apache.org/licenses/LICENSE-2.0.html)
Expand Down Expand Up @@ -53,6 +53,22 @@ Following are the attributes and methods to initialise the demo views.
|```app:shimmer_demo_view_holder_item_background``` | ``` - ``` | Color or an xml drawable for the ViewHolder background if you want to achieve the second type of shimmer effect. |
|```app:shimmer_demo_reverse_animation``` | ``` - ``` | Defines whether the animation should be reversed. If it is true, then the animation starts from the right side of the View. Default value is false. |

# Setup

- Add the following configuration in your build.gradle file.

```gradle
repositories {
...
maven { url "https://jitpack.io" }
...
}
dependencies {
implementation 'com.github.sharish:ShimmerRecyclerView:v1.3'
}
```

# Usage

Expand All @@ -79,22 +95,6 @@ ShimmerRecyclerView shimmerRecycler = (ShimmerRecyclerView) findViewById(R.id.sh
shimmerRecycler.showShimmerAdapter();
```

Adding to your project
------------------------

- Add the following configuration in your build.gradle file.

```gradle
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
dependencies {
implementation 'com.github.sharish:ShimmerRecyclerView:v1.3'
}
```

# License

```
Expand Down

0 comments on commit 23a9939

Please sign in to comment.