ViewKt

public final class ViewKt


Summary

Public methods

static final @NonNull NavController

Find a NavController associated with a View.

Public methods

ViewKt.findNavController

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

Find a NavController associated with a View.

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