File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ allprojects {
4949And add the dependency in your module's ` build.gradle ` :
5050``` groovy
5151dependencies {
52- compile 'com.github.Tunous:SwipeActionView:VERSION_HERE'
52+ implementation 'com.github.Tunous:SwipeActionView:VERSION_HERE'
5353}
5454```
5555Replace ` VERISION_HERE ` with the version you want to use. * See the tags on the top of this file to see the latest available version.*
@@ -83,6 +83,7 @@ Below example will create `TextView` that can be swiped both to the left or righ
8383 android : background =" @android:color/background_light"
8484 android : padding =" 16dp"
8585 android : text =" Swipe me" />
86+
8687</me .thanel.swipeactionview.SwipeActionView>
8788```
8889
@@ -161,6 +162,7 @@ This behavior allows you to add single background and by specifying its `layout_
161162 android : background =" @android:color/background_light"
162163 android : padding =" 16dp"
163164 android : text =" Swipe me" />
165+
164166</me .thanel.swipeactionview.SwipeActionView>
165167```
166168
@@ -262,7 +264,7 @@ Sets color for ripple displayed when users swipe right.
262264#### <a id =" attr-tools-previewBackground " >` app:sav_tools_previewBackground="swipeLeft|swipeRight" ` </a >
263265Shows background view for swipe left or right gesture.
264266
265- #### <a id =" attr-tools-previewRipple " >` app:sav_tools_previewRipple="swipeLeft" ` </a >
267+ #### <a id =" attr-tools-previewRipple " >` app:sav_tools_previewRipple="swipeLeft|swipeRight " ` </a >
266268Shows ripple for swipe left or right gesture.
267269
268270# <a id =" animations " >Animations</a >
You can’t perform that action at this time.
0 commit comments