Protected methods

onGetDefaultValue

Called when a preference is being inflated and the default value attribute needs to be
read. Since different preference types have different value types, the subclass should get
and return the default value which will be its value type.

onSaveInstanceState

Hook allowing a preference to generate a representation of its internal state that can
later be used to create a new instance with that same state. This state should only
contain information that is not persistent or can be reconstructed later.