What's the minimum Android API level for using new Google's Jetpack components

爱⌒轻易说出口 提交于 2020-01-24 15:12:15

问题


I had started to learn RxJava that I knew there's some new Google's components like LiveData, Databinding, etc. I want to know what is the minimum Android's API level to use them. Can I leverage them for example in an older APIs like 21 or 23?


回答1:


Right from the Docs https://developer.android.com/topic/libraries/support-library/.

Starting with Support Library release 26.0.0 (July 2017), the minimum supported API level across most support libraries has increased to Android 4.0 (API level 14) for most library packages.

Also Check out Version Support and Package Names.

And yeah you are good to go with LiveData all the way down to API-14.




回答2:


of course you can use api level 21 it will not restrict you for api level so much



来源:https://stackoverflow.com/questions/54780197/whats-the-minimum-android-api-level-for-using-new-googles-jetpack-components

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!