ViewKt

public final class ViewKt


Summary

Public methods

static final @NonNull NavController

Find a NavController associated with a View.

Public methods

findNavController

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