Utils

object Utils

Types

Link copied to clipboard
enum AnsTypes : Enum<Utils.AnsTypes>

Functions

Link copied to clipboard
fun constructJsonArray(jsonStrings: List<String>): String

this is to reconstruct the original collection json, basically undo parseJsonArray we use this to reconstruct a collection result from database json

Link copied to clipboard
fun Image.fallback(): String
Link copied to clipboard
fun parseJsonArray(jsonArrayString: String): List<String>

given a json string that is a JSON object with nested children they are all json themselves so this will parse them out as their own string and output the result we use this to cache the json from collection result

Properties

Link copied to clipboard
val formatter: SimpleDateFormat