You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.
Some methods have been introduced later. Right now lint doesn't warn for such calls. It warns for AppCompatActivity but not for CompositeActivity. I.e. Activity#isDestroyedI()
The @RequiresApi annotation could be added for such methods. It could be generated by the platform-tools/api/api-versions.xml which is used for lint warnings.
The text was updated successfully, but these errors were encountered:
passsy
changed the title
Add Lint warning for API methods
Add Lint warning for later API methods
Nov 2, 2016
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Some methods have been introduced later. Right now lint doesn't warn for such calls. It warns for
AppCompatActivity
but not forCompositeActivity
. I.e.Activity#isDestroyedI()
The
@RequiresApi
annotation could be added for such methods. It could be generated by theplatform-tools/api/api-versions.xml
which is used for lint warnings.The text was updated successfully, but these errors were encountered: