Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Phlex v0.0.2

Latest
Compare
Choose a tag to compare
@mddanishansari mddanishansari released this 05 Jan 14:02
· 6 commits to master since this release

New methods in v0.0.2

  • isPreLollipop()
  • Returns true if device is pre-lollipop
  • Tip: Useful for backward compatibility
  • isLollipopPlus()
  • Returns true if device is lollipop or lollipop plus
  • Tip: Useful for backward compatibility
  • dp2px(int dp)
  • Returns px value of the provided dp
  • You can also use float
  • px2dp(int px)
  • Returns dp value of the provided px
  • You can also use float
  • isAppInstalled(Context context, String appPackageName)
  • Returns true or false