有时间总结一下 @SuppressLint("NewApi") 关掉lint对这个代码块的NewApi检查。 @SuppressLint("InlinedApi") 转载于:https://www.cnblogs.com/8dull/p/5379701.html