Add APICache + splashscreen init.
This commit is contained in:
parent
e9cb8cd0ac
commit
2ad8d5953a
16 changed files with 309 additions and 15 deletions
|
|
@ -0,0 +1,4 @@
|
|||
package com.pixelized.biblib.utils.exception
|
||||
|
||||
class MandatoryFieldMissingException(method: String, name: String, json: Any) :
|
||||
RuntimeException("Parse exception: Mandatory field:'$name' is missing from:'$method', with data:$json")
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
package com.pixelized.biblib.utils.extention
|
||||
|
||||
fun Int.toBoolean(): Boolean = this != 0
|
||||
|
||||
fun Int?.toBoolean(): Boolean? = if (this == null) null else this != 0
|
||||
Loading…
Add table
Add a link
Reference in a new issue