【问题标题】:How to use import Android-PullToRefresh如何使用导入 Android-PullToRefresh
【发布时间】:2015-04-01 10:18:01
【问题描述】:

https://github.com/chrisbanes/Android-PullToRefresh

从此链接网址 我使用 android studio,我想将库导入到我的项目中,其他库具有易于使用的依赖项,例如

dependencies {
    compile 'com.android.xxxxxx
}

但是这个库没有,如何将这个库导入到我的项目中谢谢

【问题讨论】:

    标签: android android-studio android-support-library pull-to-refresh


    【解决方案1】:

    您不需要该项目,获取 Android 支持库并尝试本教程:
    http://antonioleiva.com/swiperefreshlayout/

    【讨论】:

      【解决方案2】:

      你可以试试这个:

      compile group: 'com.github.chrisbanes.pulltorefresh', name: 'parent', version: '2.1.1'
      

      在这里找到:

      https://mvnrepository.com/artifact/com.github.chrisbanes.pulltorefresh/parent/2.1.1

      或使用从这个派生的这个库:

      https://github.com/naver/android-pull-to-refresh/wiki/Quick-Start-Guide

      【讨论】:

        猜你喜欢
        • 2013-05-04
        • 2013-10-23
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多