FormatManager.IconUpdateListener

public interface IconUpdateListener

Methods

updateIconToggles

void updateIconToggles(SparseBooleanArray formTogState, SparseArray<int[]> toggleIcons)

This method will require the parent activity to update the toggle button icons.

Parameters:
  • 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.