getInt

fun getInt(key: String, defValue: Int): Int

Get an int from the preferences

Return

Value if found, else the defValue

Parameters

key

Key of the value

defValue

Default value