简体   繁体   English

用于Android中拖放的NineOldAndroids库

[英]NineOldAndroids library for Drag/Drop in android

i want to use Drag-and-Drop in my app. 我想在我的应用程序中使用拖放功能。 so I should use Nine Old Androids Library. 所以我应该使用Nine Old Androids Library。 I searchrd in GitHub and found out this solution: https://github.com/JakeWharton/NineOldAndroids I also download "Nine Old Androids.2.4.0.jar" from this site. 我在GitHub上搜索并找到了以下解决方案: https : //github.com/JakeWharton/NineOldAndroids我也从该站点下载了“ Nine Old Androids.2.4.0.jar”。 and import this jar file to my app. 并将这个jar文件导入到我的应用中。 but it doesn't work. 但这不起作用。 does"dependency" need? 需要“依赖”吗? would you please help me how can I do this? 您能帮我怎么做? thanks 谢谢

if you use gradle 如果您使用gradle

in your build.gradle 在您的build.gradle中

repositories {
    mavenCentral()
}

dependencies {
    compile group: 'com.nineoldandroids', name: 'library', version: '2.4.0'
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM