EventBuilders.TileLeaveEvent

public final class EventBuilders.TileLeaveEvent


Event fired when a tile is swiped away from by the user (i.e. it's no longer visible on screen).

1.0

Summary

Nested types

Builder for TileLeaveEvent

Public methods

int

Gets the instance ID of the tile, allocated when the tile instance is added to the carousel.

@NonNull String

Public methods

getTileId

Added in 1.2.0
public int getTileId()

Gets the instance ID of the tile, allocated when the tile instance is added to the carousel. This ID will remain the same for this tile instance as long it is not removed from the carousel.

1.0

toString

public @NonNull String toString()