Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using @TargetApi() doesn't magically solve compatibility issues #42

Open
yungpanda opened this issue Jul 23, 2014 · 0 comments
Open

Using @TargetApi() doesn't magically solve compatibility issues #42

yungpanda opened this issue Jul 23, 2014 · 0 comments

Comments

@yungpanda
Copy link

Using @TargetApi() is just ment to tell the compiler that this method is focused on that API so Lint isn't showing errors. This doesn't magically solve compatibility issues though. You should still have another method or a check inside your method to have some fallback code for older API's.

@yungpanda yungpanda added this to the Code cleanup milestone Jul 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant