lomza / KUtils

Kotlin library with useful util methods for Android projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KUtils

Kotlin library with useful util methods for Android projects.

The list of available methods and classes:

  • General:

    • TAG()
  • Device & App info:

    • getVersion()
    • getReadableVersion()
    • getPackageName()
    • getManufacturer()
    • getModel()
    • getLanguage()
    • getLocale()
    • getCountry()
    • getScreenSize()
    • isLandscape()
    • isPortrait()
    • isTablet()
  • Activity:

    • showStatusBar()
    • hideStatusBar()
  • Fragments:

    • BaseFragment
    • BaseDialogFragment
    • BaseView
    • ErrorDialog
  • Fragment Transactions:

    • transaction()
    • addFragment()
    • removeFragment()
    • replaceFragment()
    • isFragmentInBackStack()
    • isFragmentVisible()
    • getFragmentByTag()
  • Network:

    • isInternet()
    • isWiFi()
    • isMobileNetwork()
    • isVPN()
  • View:

    • visible()
    • invisible()
    • gone()
    • clickable()
    • notClickable()
  • TextView:

    • setHtml()
    • selectable()
    • notSelectable()
  • EditText:

    • setCursorAtTheEnd()
  • Toast:

    • toastShort()
    • toastLong()
  • Keyboard:

    • showKeyboard()
    • hideKeyboard()
  • Log:

    • logV()
    • logD()
    • logI()
    • logE()

About

Kotlin library with useful util methods for Android projects.

License:MIT License


Languages

Language:Kotlin 93.0%Language:Java 7.0%