简体   繁体   English

Android体系结构组件liveData和room-最低要求是什么?

[英]Android architecture components liveData and room - what is minimum requirements?

I realize its in alpha stage, however I'd like to know if the android architecture components like liveData and room have any minimum requirements ? 我知道它处于alpha阶段,但是我想知道诸如liveData和room之类的android体系结构组件是否有最低要求? such as min android api/sdk etc. I looked here but its not showing me if there is any requirement. 例如最小的android api / sdk等。我在这里看了一下,但如果有任何要求,它不会显示给我。 Can i assume i can use this right back to at least android ICS ? 我可以假设我至少可以将其用于android ICS吗?

Yes, you can assume that it goes back to ICS at least. 是的,您可以假设它至少可以追溯到ICS。 Also starting support library version 26, minSdk becomes 14. So I assume new architecture libraries will be the same. 同样从支持库版本26开始,minSdk也变为14。因此,我认为新的体系结构库将相同。

According to googlesamples, lowest API version is 14, which is Ice Cream Sandwich. 根据googlesamples,最低的API版本是14,即Ice Cream Sandwich。

Here are the links to the gradle files for the minSdk 14 apps: 这是minSdk 14应用程序的gradle文件的链接:

Github Browser Sample gradle file Github浏览器示例gradle文件

Persistent Content Provider Sample 永久内容提供者样本

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM