ViewKt

public final class ViewKt


Summary

Public methods

static final @NonNull NavController

Find a NavController associated with a View.

Public methods

ViewKt.findNavController

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