|
17 | 17 | import android.animation.ObjectAnimator;
|
18 | 18 | import android.animation.PropertyValuesHolder;
|
19 | 19 | import android.animation.ValueAnimator;
|
| 20 | +import android.content.Context; |
20 | 21 | import android.graphics.Canvas;
|
21 | 22 | import android.graphics.Color;
|
22 | 23 | import android.graphics.Rect;
|
|
34 | 35 | import com.facebook.common.logging.FLog;
|
35 | 36 | import com.facebook.infer.annotation.Assertions;
|
36 | 37 | import com.facebook.react.R;
|
37 |
| -import com.facebook.react.bridge.ReactContext; |
38 | 38 | import com.facebook.react.bridge.WritableMap;
|
39 | 39 | import com.facebook.react.bridge.WritableNativeMap;
|
40 | 40 | import com.facebook.react.common.ReactConstants;
|
@@ -114,11 +114,11 @@ public class ReactScrollView extends ScrollView
|
114 | 114 | private int mLastStateUpdateScrollX = -1;
|
115 | 115 | private int mLastStateUpdateScrollY = -1;
|
116 | 116 |
|
117 |
| - public ReactScrollView(ReactContext context) { |
| 117 | + public ReactScrollView(Context context) { |
118 | 118 | this(context, null);
|
119 | 119 | }
|
120 | 120 |
|
121 |
| - public ReactScrollView(ReactContext context, @Nullable FpsListener fpsListener) { |
| 121 | + public ReactScrollView(Context context, @Nullable FpsListener fpsListener) { |
122 | 122 | super(context);
|
123 | 123 | mFpsListener = fpsListener;
|
124 | 124 | mReactBackgroundManager = new ReactViewBackgroundManager(this);
|
|
0 commit comments