getInteger

Creates a Int preference for the key with a default of 0


fun getInteger(key: String?, defaultValue: Int): Preference<Int>(source)

Creates a Int preference for the key with a default of defaultValue