Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 388 Bytes

README.md

File metadata and controls

14 lines (11 loc) · 388 Bytes

Support Version

This library is for you if:

  • You are lazy.
  • You hate search how the f*** check the Android version every time you need it.
  • You think that Build.VERSION.SDK_INT >= Build.VERSION_CODES.SOMETHING it's a very ugly code to write here and there.

With SupportVersion you simple can do:

    if (SupportVersion.lollipop()) {
        //do awesome stuff
    }