Questions tagged «android-annotations»

5
RequiresApi vs TargetApi android批注
RequiresApi和之间有什么区别TargetApi? Kotlin中的样本: @RequiresApi(api = Build.VERSION_CODES.M) @TargetApi(Build.VERSION_CODES.M) class FingerprintHandlerM() : FingerprintManager.AuthenticationCallback() 注意:FingerprintManager.AuthenticationCallback需要apiM 注意2:如果我不使用TargetApi,则皮棉会因错误而失败 class requires api level 23...
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.