From 1529960cbde629bb8c9aa7d98aca6e9f08185689 Mon Sep 17 00:00:00 2001 From: Peter Date: Tue, 30 May 2017 15:48:47 +0300 Subject: [PATCH] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index cd3c9c8..3c2ca2a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # SlideUp-Android SlideUp is a small library that allows you to add sweet slide effect to any view. Slide your views up, down, left or right with SlideUp! +[![Release](https://jitpack.io/v/mancj/SlideUp-Android.svg)](https://jitpack.io/#mancj/SlideUp-Android) --- @@ -23,7 +24,7 @@ allprojects { Add the dependency ```groovy dependencies { - compile 'com.github.mancj:SlideUp-Android:2.2.3' + compile 'com.github.mancj:SlideUp-Android:2.2.4' } ``` @@ -64,7 +65,7 @@ fab = (FloatingActionButton) findViewById(R.id.fab); slideUp = new SlideUp.Builder(slideView) - .withListeners(new SlideUp.Listener() { + .withListeners(new SlideUp.Listener.Events() { @Override public void onSlide(float percent) { dim.setAlpha(1 - (percent / 100));