问题描述
更新:现在,与Android体验个月后,我的理解是支持库回来,从更高层次的API新功能的端口。例如,支持LIB V4实现了一些使用API和其中的新功能。= 4只
感谢您的帮助。
是的,没有。它包含了更新的API两个回油口的版本(如片段
),以及其他功能不可用之外的支持库。
从href="http://developer.android.com/tools/support-library/index.html">支持库文档(重点煤矿)的
有多个版本的支持库,每一个都支持不同的最低API级别:
- V4支持回到1.6(API等级4)
- 在V7支持回到2.1(API 7级)
- 在V8支持回2.2(API级别8)
也许吧。检查href="http://developer.android.com/tools/support-library/features.html">支持库特征文档的 DrawerLayout 不可支持库之外的。
Updated:Now after months of experience with Android, I understand that support libraries are back ports of new features from higher API levels. For example, support lib v4 implements some of the new features using API <= 4 only.
Thanks for the help.
Yes and no. It contains both back-ported versions of newer APIs (such as Fragment
), as well as other features that are not available outside of the support library.
From the support library documentation (emphasis mine):
There are multiple versions of the support library, each supporting a different minimum API level:
- v4 supports back to 1.6 (API level 4)
- v7 supports back to 2.1 (API level 7)
- v8 supports back to 2.2 (API level 8)
Maybe. Check the Support Library Features documentation. Do you need any of those things? Some, such as DrawerLayout
are not available outside the support library.
这篇关于我是否需要使用Android的支持库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!