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

InlinePresentationRenderer

public final class InlinePresentationRenderer
extends Object

java.lang.Object
   ↳ androidx.autofill.InlinePresentationRenderer


Helper class for rendering Slice as an Inline Suggestion.

Summary

Public methods

static View renderSlice(Context context, Slice slice, String style)

Renders an Slice into an Inline Suggestion as a View.

Inherited methods

Public methods

renderSlice

public static View renderSlice (Context context, 
                Slice slice, 
                String style)

Renders an Slice into an Inline Suggestion as a View.

Parameters
context Context

slice Slice

style String

Returns
View