Why android studio is not giving newapi warning?

后端 未结 1 1814
青春惊慌失措
青春惊慌失措 2021-01-24 02:28

My project\'s minSdkVersion is 15, targetSdkVersion 26 and compileSdkVersion 27. I\'m using the latest android studio. But when I call isDestroyed() inside activity

相关标签:
1条回答
  • 2021-01-24 02:44

    Go to File --> Settings --> Editor --> Inspection --> Android --> Lint --> Correctness and check Calling new methods on older versions.

    0 讨论(0)
提交回复
热议问题