我最近更新了我的 Android Studio 和 SDK。在新的 Android Studio 中,有 android.support.v7.app.AlertController.RecycleListView
。我熟悉android.support.v7.RecyclerView
,所以我有点困惑这两者之间有什么区别。如果有人可以指导,那将不胜感激。
最佳答案
RecycleListView 是一个不供外部使用的内部类。它在支持库中公开显示的事实可能是一个错误。
您可以在常规(非 appcompat)版本中看到它是一个内部类 http://developer.oesf.biz/em/developer/reference/eggplant/com/android/internal/app/AlertController.RecycleListView.html
编辑:旧链接不再可用。这是archive.org 的版本:https://web.archive.org/web/20170604100431/http://developer.oesf.biz/em/developer/reference/eggplant/com/android/internal/app/AlertController.RecycleListView.html
关于android - android.support.v7.app.AlertController.RecycleListView 和 android.support.v7.widget.RecyclerView 的区别,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43157529/