NineOldAndroids库在Android中拖/放 [英] NineOldAndroids library for Drag/Drop in android

查看:894
本文介绍了NineOldAndroids库在Android中拖/放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用拖放和拖放在我的应用程序。所以我应该用九老机器人图书馆。我searchrd在GitHub上,发现了此解决方案:
https://github.com/JakeWharton/NineOldAndroids
我也从这个网站下载九老Androids.2.4.0.jar。并导入这个jar文件到我的应用程序。但它不工作。
不依赖需要什么?请你帮我,我怎么能做到这一点?
谢谢

i want to use Drag-and-Drop in my app. so I should use 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. and import this jar file to my app. but it doesn't work. does"dependency" need? would you please help me how can I do this? thanks

推荐答案

如果您使用gradle这个

if you use gradle

在您的build.gradle

in your build.gradle

repositories {
    mavenCentral()
}

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

这篇关于NineOldAndroids库在Android中拖/放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆