-
public class ReactScrollViewCommandHelper
Helper for view managers to handle commands like 'scrollTo'. Shared by and ReactHorizontalScrollViewManager.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
ReactScrollViewCommandHelper.ScrollCommandHandler
public class
ReactScrollViewCommandHelper.ScrollToCommandData
public class
ReactScrollViewCommandHelper.ScrollToEndCommandData
-
Field Summary
Fields Modifier and Type Field Description public final static int
COMMAND_SCROLL_TO
public final static int
COMMAND_SCROLL_TO_END
public final static int
COMMAND_FLASH_SCROLL_INDICATORS
-
Method Summary
Modifier and Type Method Description static Map<String, Integer>
getCommandsMap()
static <T> void
receiveCommand(ReactScrollViewCommandHelper.ScrollCommandHandler<T> viewManager, T scrollView, int commandType, @Nullable() ReadableArray args)
static <T> void
receiveCommand(ReactScrollViewCommandHelper.ScrollCommandHandler<T> viewManager, T scrollView, String commandType, @Nullable() ReadableArray args)
-
-
Method Detail
-
getCommandsMap
static Map<String, Integer> getCommandsMap()
-
receiveCommand
static <T> void receiveCommand(ReactScrollViewCommandHelper.ScrollCommandHandler<T> viewManager, T scrollView, int commandType, @Nullable() ReadableArray args)
-
receiveCommand
static <T> void receiveCommand(ReactScrollViewCommandHelper.ScrollCommandHandler<T> viewManager, T scrollView, String commandType, @Nullable() ReadableArray args)
-
-
-
-