NineOldAndroids library for Drag/Drop in android

淺唱寂寞╮ 提交于 2019-12-24 03:55:09

问题


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


回答1:


if you use gradle

in your build.gradle

repositories {
    mavenCentral()
}

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


来源:https://stackoverflow.com/questions/28655344/nineoldandroids-library-for-drag-drop-in-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!