Interface ConfigManager.ProfileChangeListener
- All Known Implementing Classes:
CompatSnapshots
- Enclosing class:
ConfigManager
public static interface ConfigManager.ProfileChangeListener
-
Method Summary
Modifier and TypeMethodDescriptionvoidonProfileChanged(String newProfile) default voidonProfileCreated(String profile) default voidonProfileDeleted(String profile) default voiddefault voidonProfileRenamed(String oldProfile, String newProfile) default voidonProfileSaving(String profile) default voidonProfileSpecificControlsChanged(boolean enabled) default voidonProfileUnloading(String profile) Called on the UI thread right before the configs are rebound fromprofile, which a rename also does
UnlikeonProfileSaving(java.lang.String)this also runs when the profile is left without being saved
-
Method Details
-
onProfileChanged
-
onProfileSaving
-
onProfileUnloading
Called on the UI thread right before the configs are rebound fromprofile, which a rename also does
UnlikeonProfileSaving(java.lang.String)this also runs when the profile is left without being saved -
onProfileOperationFinished
default void onProfileOperationFinished() -
onProfileCreated
-
onProfileRenamed
-
onProfileDeleted
-
onProfileSpecificControlsChanged
default void onProfileSpecificControlsChanged(boolean enabled)
-