I'm trying to import the drag-sort-listview android library into my application in Android Studio. I had no problems using it with Eclipse before.
Git repository for library: https://github.com/bauerca/drag-sort-listview
Nowadays, you can just add the dependency in your build.gradle
as:
repositories {
mavenCentral()
}
dependencies {
compile 'asia.ivity.android:drag-sort-listview:1.0'
}
All you need to do is to define the dependency on it in your build.gradle
file.
repositories {
mavenCentral()
}
dependencies {
compile 'asia.ivity.android:drag-sort-listview-apklib:1.0@apklib'
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With