Utils

open class Utils

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun dp2px(context: Context, dp: Float): Int
Link copied to clipboard
open fun getActivity(context: Context): Activity
Link copied to clipboard
Link copied to clipboard
open fun hexString(input: Array<Byte>): String
Link copied to clipboard
open fun isDebugBuild(context: Context): Boolean
Link copied to clipboard
open fun px2dp(context: Context, px: Int): Float
Link copied to clipboard
open fun sha1(input: String): Array<Byte>
Link copied to clipboard
open fun sha1Hex(input: String): String
Link copied to clipboard
open fun sha256(input: String): Array<Byte>
Link copied to clipboard
open fun sha256Hex(input: String): String