FragmentKt

Added in 1.0.0

public final class FragmentKt


Summary

Public methods

static final @NonNull NavController

Find a NavController given a Fragment

Public methods

findNavController

public static final @NonNull NavController findNavController(@NonNull Fragment receiver)

Find a NavController given a Fragment

Calling this on a Fragment that is not a NavHostFragment or within a NavHostFragment will result in an IllegalStateException