From 55f04895732006c4ef891696dce86501ee477c06 Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Tue, 25 Sep 2018 11:08:06 -0700 Subject: [PATCH] Better example of gesture interaction --- example/src/GestureInteraction.js | 40 +++++++++++++++++++++++++++---- 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/example/src/GestureInteraction.js b/example/src/GestureInteraction.js index c88b70f..a3be16f 100644 --- a/example/src/GestureInteraction.js +++ b/example/src/GestureInteraction.js @@ -1,7 +1,14 @@ import React from 'react'; -import { Button, WebView, View, StyleSheet } from 'react-native'; +import { + ActivityIndicator, + Button, + InteractionManager, + WebView, + View, + StyleSheet, +} from 'react-native'; import { MapView } from 'expo'; -import { createStackNavigator } from 'react-navigation'; +import { createStackNavigator, withNavigationFocus } from 'react-navigation'; import { StackGestureContext } from 'react-navigation-stack'; import { PanGestureHandler, @@ -12,16 +19,40 @@ const IndexScreen = ({ navigation }) => (