【发布时间】:2014-12-12 14:37:46
【问题描述】:
在启动任何 Android 项目时,开发人员必须在使用支持库或原生库之间做出选择。
在 Lollipop 上使用支持库时会发生什么?如果我使用 ToolBar support library object,并且它在 Lollipop 设备上运行,库是否会自动默认为 native implementation of the Toolbar?
我假设原生库比支持库更高效。
编辑:现在以 Toolbar 为例,而不是 RecyclerView
【问题讨论】:
-
我在 API 5 中没有看到 RecyclerView 还是我弄错了?
-
@pskink 以工具栏为例。
-
@DerGolem 谢谢!如果您将其发布为答案,我会接受它
-
@DerGolem 你的陈述很遗憾是错误的
标签: android android-support-library android-5.0-lollipop android-recyclerview