ActionBuilders

Added in 1.0.0
Deprecated in 1.2.0

public final class ActionBuilders


Builders for actions that can be performed when a user interacts with layout elements.

Summary

Nested types

public interface ActionBuilders.Action

Interface defining an action that can be used by a layout element.

Builder to create Action objects.

A launch action to send an intent to an Android activity.

Builder for AndroidActivity

A boolean value that can be added to an Android intent's extras.

Builder for AndroidBooleanExtra.

A double value that can be added to an Android intent's extras.

Builder for AndroidDoubleExtra.

Interface defining an item that can be included in the extras of an intent that will be sent to an Android activity.

Builder to create AndroidExtra objects.

An integer value that can be added to an Android intent's extras.

Builder for AndroidIntExtra.

A long value that can be added to an Android intent's extras.

Builder for AndroidLongExtra.

A string value that can be added to an Android intent's extras.

Builder for AndroidStringExtra.

An action used to launch another activity on the system.

Builder for LaunchAction.

public final class ActionBuilders.LoadAction implements ActionBuilders.Action

An action used to load (or reload) the tile contents.

Builder for LoadAction.

Public methods

static @NonNull ActionBuilders.AndroidBooleanExtra
booleanExtra(boolean value)

Shortcut for building an AndroidBooleanExtra.

static @NonNull ActionBuilders.AndroidDoubleExtra
doubleExtra(double value)

Shortcut for building an AndroidDoubleExtra.

static @NonNull ActionBuilders.AndroidIntExtra
intExtra(int value)

Shortcut for building an AndroidIntExtra.

static @NonNull ActionBuilders.AndroidLongExtra
longExtra(long value)

Shortcut for building an AndroidLongExtra.

static @NonNull ActionBuilders.AndroidStringExtra

Shortcut for building an AndroidStringExtra.

Public methods

booleanExtra

Added in 1.0.0
Deprecated in 1.2.0
public static @NonNull ActionBuilders.AndroidBooleanExtra booleanExtra(boolean value)

Shortcut for building an AndroidBooleanExtra.

doubleExtra

Added in 1.0.0
Deprecated in 1.2.0
public static @NonNull ActionBuilders.AndroidDoubleExtra doubleExtra(double value)

Shortcut for building an AndroidDoubleExtra.

intExtra

Added in 1.0.0
Deprecated in 1.2.0
public static @NonNull ActionBuilders.AndroidIntExtra intExtra(int value)

Shortcut for building an AndroidIntExtra.

longExtra

Added in 1.0.0
Deprecated in 1.2.0
public static @NonNull ActionBuilders.AndroidLongExtra longExtra(long value)

Shortcut for building an AndroidLongExtra.

stringExtra

Added in 1.0.0
Deprecated in 1.2.0
public static @NonNull ActionBuilders.AndroidStringExtra stringExtra(@NonNull String value)

Shortcut for building an AndroidStringExtra.