getInteger

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


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

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