| 
    Tweakr
    
   Android Library for Remote Debugging,  Autogenerating Settings/Preference UIs, and Wizard-of-Ozing 
   | 
 
  
Classes | |
| interface | OnChangeListener | 
Public Member Functions | |
| void | addListener (OnChangeListener listener) | 
| void | removeListener (OnChangeListener listener) | 
| void | add (String name, int targetId, ValueType valueType, Object initialValue, TweakMetadata tweakMetadata) | 
Public Attributes | |
| String | FIELD_SEPARATOR = ":" | 
A repo to store Tweaks and manipulate them with a UI, then notify the registry via OnChangeListener. 
| void com.google.tweakr.TweakrRepo.add | ( | String | name, | 
| int | targetId, | ||
| ValueType | valueType, | ||
| Object | initialValue, | ||
| TweakMetadata | tweakMetadata | ||
| ) | 
Add a new Tweak.
| name | fully-qualified name of the tweak: may be a path of parent objects to the actual field's name, separated by FIELD_SEPARATOR.  | 
| targetId | monotonically increasing ID of the target object. | 
| valueType | ValueType for converting the UI value before passing it to OnChangeListener#onFieldChanged.  | 
| initialValue | Initial value of the field as it exists in the target object. | 
| tweakMetadata | Metadata from the annotation for the UI to display. | 
Implemented in com.google.tweakr.TweakrFirebaseRepo, and com.google.tweakr.preferences.TweakrPreferencesRepo.
| void com.google.tweakr.TweakrRepo.addListener | ( | OnChangeListener | listener | ) | 
Registers a listener to be notified whenever a value changes in the UI.
Implemented in com.google.tweakr.TweakrFirebaseRepo, and com.google.tweakr.preferences.TweakrPreferencesRepo.
| void com.google.tweakr.TweakrRepo.removeListener | ( | OnChangeListener | listener | ) | 
Removes a listener added with addListener(OnChangeListener) 
Implemented in com.google.tweakr.TweakrFirebaseRepo, and com.google.tweakr.preferences.TweakrPreferencesRepo.