我正在使用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獲取支持庫的完整列表 –