An AttributeSet
implementation is supposed to hold a set of Key,Value pair objects.
You can use HashMap/HashTable etc for you own implementation of AttributeSet.
AttributeSet
doesnt have any method for adding key values. There comes MutableAttributeSet
Style
is a
MutableAttributeSet
which provides Listener
support. Which means you can change the key-value based on some changeListener.