ViewKt

Added in 1.0.0

public final class ViewKt


Summary

Public methods

static final @NonNull NavController

Find a NavController associated with a View.

Public methods

findNavController

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

Find a NavController associated with a View.

Calling this on a View not within a NavHost will result in an IllegalStateException