Google is committed to advancing racial equity for Black communities. See how.

InlinePresentationRenderer

@RequiresApi(29) class InlinePresentationRenderer
kotlin.Any
   ↳ androidx.autofill.InlinePresentationRenderer

Helper class for rendering Slice as an Inline Suggestion.

Summary

Public methods

static View
renderSlice(@NonNull context: Context, @NonNull slice: Slice, @Nullable style: String?)

Renders an Slice into an Inline Suggestion as a View.

Public methods

renderSlice

@NonNull static fun renderSlice(
    @NonNull context: Context,
    @NonNull slice: Slice,
    @Nullable style: String?
): View

Renders an Slice into an Inline Suggestion as a View.