How do I disable the enabled feature when I enable a new feature in togglz? -


say have features a, b, c, , a enabled default. b , c disabled.

when enable b want disable a: 1 feature should enabled @ time.

you'll need implement custom version of staterepository interface. information on can found on togglz documentation

next override setfeaturestate(...) function required functionality.

  • disable active features (query via featuremanager or feature enum - may need implement custom versions of these classes desired functionality)
  • enable feature being set.

Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -