سؤال

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