Вопрос

Do you think is it a good practice to use Android Support Library if my app will support only devices which working on Android 4 ? Or it is unnecessary?

Alex. P.S. Sorry for my English:)

Это было полезно?

Решение

The Android Support package is not only for backports. For example, if you want to use ViewPager, you will need to use the Android Support package. And, in 2014, the Android Support package might get backports of things that are not in whatever your planned android:minSdkVersion is.

If, instead, you are asking whether it is necessary to use FragmentActivity, the AppCompat action bar, and similar backports, no, you will not need those.

Другие советы

Use the support library only if functions you want to use don't work on one of the API levels you target.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top