Interface ConfigManager.ProfileChangeListener

All Known Implementing Classes:
CompatSnapshots
Enclosing class:
ConfigManager

public static interface ConfigManager.ProfileChangeListener
  • Method Details

    • onProfileChanged

      void onProfileChanged(String newProfile)
    • onProfileSaving

      default void onProfileSaving(String profile)
    • onProfileUnloading

      default void onProfileUnloading(String profile)
      Called on the UI thread right before the configs are rebound from profile, which a rename also does
      Unlike onProfileSaving(java.lang.String) this also runs when the profile is left without being saved
    • onProfileOperationFinished

      default void onProfileOperationFinished()
    • onProfileCreated

      default void onProfileCreated(String profile)
    • onProfileRenamed

      default void onProfileRenamed(String oldProfile, String newProfile)
    • onProfileDeleted

      default void onProfileDeleted(String profile)
    • onProfileSpecificControlsChanged

      default void onProfileSpecificControlsChanged(boolean enabled)