FragmentKt

public final class FragmentKt


Summary

Public methods

static final @NonNull NavController

Find a NavController given a Fragment

Public methods

FragmentKt.findNavController

@NonNull
public static final NavController FragmentKt.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