The following example shows some variations of AlexaSwipeToAction placed within a Container. The AlexaSwipeToAction items also set the text and actions for buttons to give TV users an alternative to swiping that they can navigate with a TV remote.
On a hub device, when you begin swiping an item, the header updates to show the swipe progress. When you complete the swipe, the header updates to show that the swipe is finished.
On a TV device, when you highlight an item with the remote, the item displays the two options buttons. When you select one of the buttons, the header updates to show that the selection is finished.
This example was copied from the official technical documentation.
Be the first to comment.