Reputation: 829
I see that Kitkat added scenes and transitions (something I'm learning now). It seems very easy to implement, but if my minSDKVersion is set to below 19, I need to use @SuppressLint("NewApi").
Does this mean that my app would crash for lower sdks? I'm testing on a Nexus 5 so it runs fine. If so, can I implement Scenes and Transitions for lower APIs using a certain package? And if not, how can I design similar transitions for lower APIs?
Upvotes: 0
Views: 2237
Reputation: 199825
The app will crash if you attempt to use an API that does not exist. You can use third party libraries such as Transitions Backport, which backports the transitions framework to API 14.
Upvotes: 3