Kaspresso
Kaspresso copied to clipboard
Easy way to toggle multiple interceptors
It would be cool to group interceptors by their functions so the user could do something like
disableInterceptors(InterceptorsGroups.SyStemDialogSafety)
instead of
dataBehaviorInterceptors.removeIf { it is SystemDialogSafetyProvider }
deviceBehaviorInterceptors.removeIf { it is SystemDialogSafetyProvider }
objectBehaviorInterceptors.removeIf { it is SystemDialogSafetyProvider }
webBehaviorInterceptors.removeIf { it is SystemDialogSafetyProvider }
viewBehaviorInterceptors.removeIf { it is SystemDialogSafetyProvider }