onDetach

override fun onDetach()

Runs onRemovedFromDecoration. The component is handed the decoration without this step once the modifier pass ends.