data class ContactItem | 
|
enum class Intensity | 
|
class Json : JSONObject
DSL-Style JSONObject builder  | 
|
class RConstructorBuilder<T>
Class for generate Instance of given Class object  | 
|
class RPermission | 
|
class RPickMedia | 
|
class RPreference | 
|
enum class ResizeMode | 
fun allContains(target: String, vararg items: String): Boolean
Test   | 
|
fun allEmpty(vararg target: String): Boolean
Test all element of target is empty  | 
|
fun allEquals(target: String, vararg items: String): Boolean
Test   | 
|
fun allNotEmpty(vararg target: String): Boolean
Test all element of target is not empty  | 
|
fun anyContains(target: String, vararg items: String): Boolean
Test   | 
|
fun anyContainsString(inputStr: String, items: Array<String>): Booleanfun anyContainsString(inputStr: String, items: List<String>): Boolean
Returns   | 
|
fun anyEmpty(vararg target: String): Boolean
Test any element of target is empty  | 
|
fun anyEquals(target: String, vararg items: String): Boolean
Test   | 
|
fun anyMatchRegex(regex: String, items: Array<String>): Booleanfun anyMatchRegex(regex: String, items: List<String>): Boolean
Returns   | 
|
fun anyNotEmpty(vararg target: String): Boolean
Test any element of target is not empty  | 
|
fun <T> arrayListOf(vararg items: T): ArrayList<T>
Return an ArrayLIit containing vararg parameter  | 
|
fun <T> arrayOf(vararg items: T): Array<T>
Return an Array containing vararg parameter  | 
|
fun createUri(context: Context, videoUri: Boolean = false, internalStorage: Boolean = false): Urifun createUri(context: Context, uri: Uri): Uri
create empty Uri in MediaStore  | 
|
fun downloadBitmap(imageUrl: String): Bitmap?
Download bitmap from uri  | 
|
fun downloadFile(urlPath: String, localPath: String, callback: (Uri?) -> Unit = {}): Uri?fun downloadFile(urlPath: String, localPath: String, callback: F1<Uri>?): Uri?
Download file from uri  | 
|
fun drawableToBitmap(drawable: Drawable): Bitmap
Convert Drawable to Bitmap in safe way  | 
|
fun generateViewId(): Int
Generate View ID  | 
|
fun getJSONArray(jsonObject: JSONObject?, name: String): JSONArray?
get JSONArray from JSONObject fun getJSONArray(jsonArray: JSONArray?, index: Int): JSONArray?
get JSONArray from JSONArray  | 
|
fun getJSONObject(jsonObject: JSONObject?, name: String): JSONObject?
get JSONObject from JSONObject fun getJSONObject(jsonArray: JSONArray?, index: Int): JSONObject?
get JSONObject from JSONArray  | 
|
fun getPhotoHeight(filePath: String?): Int
get height of photo from ExifInterface  | 
|
fun getPhotoOrientationDegree(filePath: String?): Int
get orientation degree of photo from ExifInterface  | 
|
fun getPhotoWidth(filePath: String?): Int
get width of photo from ExifInterface  | 
|
fun getTimeZone(): TimeZone
get TimeZone on system  | 
|
fun getTimeZoneId(): String
get id of TimeZone on system  | 
|
fun getUri(file: File?): Uri?
Convert File into Uri.  | 
|
fun getVibratorPattern(intensity: Intensity, duration: Long): LongArray
get Intensity (Desired Strength) of Vibrate NOTE: Some device's default value may 0.7f (Tested in Galaxy S6), fun getVibratorPattern(intensity: Float, duration: Long): LongArray
get Intensity (Desired Strength) of Vibrate Normal Way, just use getVibratorPattern(Intensity, long) for easy work.  | 
|
fun insertImage(context: Context, bitmap: Bitmap): Uri
Insert Bitmap into MediaStore  | 
|
fun isMediaUri(uri: Uri?): Boolean
check uri is media uri  | 
|
fun list(start: Int, end: Int, step: Int = 1): List<Int>fun list(start: Double, end: Double, step: Double = 1.0): List<Double>
generate list with given start, end, step  | 
|
fun <T> listOf(vararg items: T): List<T>
Return an immutable list containing vararg parameter  | 
|
fun <T> matchAllPredicate(predicate: (T) -> Boolean, vararg items: T): Boolean
Test if given all of vararg parameter are match given predicate  | 
|
fun <T> matchAnyPredicate(predicate: (T) -> Boolean, vararg items: T): Boolean
Test if given any of vararg parameter are match given predicate  | 
|
fun nowDateString(format: String? = "yyyy-MM-dd HH:mm:ss"): String
generate Date String in currentTImeMillis  | 
|
fun put(jsonObject: JSONObject?, name: String, value: Any): JSONObject?
put value to JSONObject fun put(jsonArray: JSONArray?, index: Int, value: Any): JSONArray?
put value to JSONArray fun put(jsonArray: JSONArray?, value: Any): JSONArray?
put value to JSONArray without ordering  | 
|
fun putMap(map: Map<String, Any>): Bundle
return Bundle which contain contents of Map<String, Any>  | 
|
fun rotate(bitmap: Bitmap, degree: Int): Bitmap
rotate bitmap  | 
|
fun runAsync(poolSize: Int = RAsync.instance.settingPoolSize, action: () -> Unit): Unitfun runAsync(poolSize: Int = RAsync.instance.settingPoolSize, action: F0): Unit
run code inside of Background thread with custom pool size this will help in multi-threading working fun runAsync(action: () -> Unit): Unitfun runAsync(action: F0): Unit
run code inside of Background thread with default pool size this will help in multi-threading working  | 
|
fun runDelayed(delayMillis: Long, action: () -> Unit): Booleanfun runDelayed(delayMillis: Long, action: F0): Boolean
run code inside of Background Thread after given delay  | 
|
fun runDelayedOnUiThread(action: () -> Unit, delayMillis: Long): Booleanfun runDelayedOnUiThread(action: F0, delayMillis: Long): Boolean
run code inside of UI Thread after given delay  | 
|
fun runOnUiThread(action: () -> Unit): Booleanfun runOnUiThread(action: F0): Boolean
run code inside of UI Thread  | 
|
fun saveFile(fullPath: String, content: String): File
save file with content  | 
|
fun toNumFormat(num: String): String
formatting number like 1,000,000  | 
|
fun <T, R> T.tryCatch(block: (T) -> R): Rfun tryCatch(block: F0): Unit |