Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

TemplateSliceBuilder

public abstract class TemplateSliceBuilder
extends Object

java.lang.Object
   ↳ androidx.slice.builders.TemplateSliceBuilder


Base class of builders of various template types.

Summary

Public methods

Slice build()

Construct the slice.

Inherited methods

Public methods

build

public Slice build ()

Construct the slice.

Returns
Slice