unsubscribe

open fun unsubscribe()

Unsubscribes NavigationViewModelandroidx.lifecycle.LiveData objectspreviously added in subscribe by removing the observers of the LifecycleOwner when parent view is destroyed