public static interface FormatManager.IconUpdateListener
Modifier and Type | Method and Description |
---|---|
void |
updateIconToggles(android.util.SparseBooleanArray formTogState,
android.util.SparseArray<int[]> toggleIcons)
This method will require the parent activity to update the toggle button icons.
|
void updateIconToggles(android.util.SparseBooleanArray formTogState, android.util.SparseArray<int[]> toggleIcons)
formTogState
- a SparseBooleanArray (HashMap) with int as key and boolean as value
key: int id of toggleButton View we are using.
value: true if toggled, false if not toggled.toggleIcons
- a SparseArray (HashMap) with int as key and int[] as value.
key: int id of toggleButton View we are using.
value: int[0] being untoggled icon, int[1] being toggled icon.