RecyclerViewSwipeDecorator icon indicating copy to clipboard operation
RecyclerViewSwipeDecorator copied to clipboard

RecyclerViewSwipeDecorator won't import even after I have put implementation in grade

Open michaelchinaka opened this issue 2 years ago • 4 comments

I tried both the new version and the previous version and both do not want to import

michaelchinaka avatar Apr 19 '22 10:04 michaelchinaka

Did you add the repository in setting.gradle?

dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google() mavenCentral() maven { url 'https://jitpack.io' } } }

AlvaroMonserrat avatar May 18 '22 02:05 AlvaroMonserrat

The library version 1.4 is now available on Maven Central, this should solve your issue.

xabaras avatar Jan 09 '23 11:01 xabaras

yes I tried the solution but it doesn't work

jatin132 avatar Jan 24 '23 11:01 jatin132

Do you have mavenCentral() as a repository in your project? I just tried to add this dependency

implementation 'it.xabaras.android:recyclerview-swipedecorator:1.4'

to a new project and I was able to use it in my code normally.

What do you mean with "do not want to import"?

xabaras avatar Jan 24 '23 14:01 xabaras