android.support.v7.app.AlertController.RecycleListView 和 android.support.v7.widget.RecyclerView 的区别 [英] difference between android.support.v7.app.AlertController.RecycleListView and android.support.v7.widget.RecyclerView
问题描述
我最近更新了我的 Android Studio 和 SDK.在新的 Android Studio 中,有 android.support.v7.app.AlertController.RecycleListView
.我熟悉android.support.v7.RecyclerView
,所以我有点困惑这两者之间有什么区别.如果有人可以指导,那将不胜感激.
I recently update my Android Studio and also SDK. In new Android Studio, there is android.support.v7.app.AlertController.RecycleListView
. I am familiar with android.support.v7.RecyclerView
, so I am a little bit confused that what is the difference between these two. If anyone can guide then it would be thankful.
推荐答案
RecycleListView 是一个内部类,不适合外部使用.它在支持库中公开显示的事实可能是一个错误.
RecycleListView is an internal class not intended for external use. The fact that it is showing up publicly in the support library is probably a mistake.
您可以在常规(非appcompat)版本中看到它是一个内部类http://developer.oesf.biz/em/developer/reference/eggplant/com/android/internal/app/AlertController.RecycleListView.html
You can see here in the regular (non-appcompat) version it is an internal class 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
edit: The old link is no longer available. Here is the archive.org version: https://web.archive.org/web/20170604100431/http://developer.oesf.biz/em/developer/reference/eggplant/com/android/internal/app/AlertController.RecycleListView.html
这篇关于android.support.v7.app.AlertController.RecycleListView 和 android.support.v7.widget.RecyclerView 的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!