我正在使用RecyclerView组件的应用程序。我检查我的build.gradle文件,它有这些依赖关系:支持库中的RecyclerView在哪里?
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support:cardview-v7:25.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.0-beta5'
compile 'com.android.support:design:25.3.1'
testCompile 'junit:junit:4.12'
compile 'com.android.support:support-v4:25.3.1'
有没有“com.android.support:recyclerview-v7:25.3.1”,但我有一个RecyclerView(android.support .v7.widget.RecyclerView)。
上面哪个包还包含RecyclerView?或者有什么我不明白的支持库软件包?
可以发现,在谷歌很容易,否则使用它添加到视图设计视图Android Strudio为您添加库 – Juan
我有理由相信这是一个 compile'com.android.support:appcompat-v7:25.3.1' 欲了解更多信息,请访问https://developer.android .com/training/material/lists-cards.html –
请查阅https://developer.android.com/topic/libraries/support-library/packages.html获取支持库的完整列表 –