android调用高版本api函数的兼容性问题

                有时候代码中调用的一些api函数对api版本有要求,好比ListView的smoothScrollToPosition函数,该函数要求android api版本在8或者以上才能够使用,即要求用户的手机必须是android2.2及其以上的才行。有些同窗可能会这么作html   try  {   final int mVersionCode = Integer.valu
相关文章
相关标签/搜索