Understanding @SuppressLint(“NewApi”) annotation

@SuppressLint("NewApi") is an annotation used by the Android Lint tool.

Lint will tell you whenever something in your code isn’t optimal or may crash. By passing NewApi there, you’re suppressing all warnings that would tell you if you’re using any API introduced after your minSdkVersion

See a full list of Lint checks – including “NewApi” – here: http://tools.android.com/tips/lint-checks

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)