I am wondering if it is possible to use graceful degradation approach in an Android application. I.e, use some functions of, say, API 15 but if it is not supported, use API 10 instead.
Specifically, I have "swiping tabs" in Android 4 vs. missing support of this feature in Android 2.x (and thus using normal tabs) in mind but the question is rather general.
I would like to use an advanced functionality on devices that support it but when it is not supported, I would like to use an alternative. I don't seem to be able to use Android 4 libraries in an Android 2 project while an Android 4 project will not, understandably, be launchable on an Android 2 device.
Any solution? Or, at least and for this moment, any solution for "swiping tabs" on Android 2?