File tree 4 files changed +9
-3
lines changed
androidTest/java/com/facebook/react/tests
java/com/facebook/react/views/picker
third-party/android/support/v7/appcompat-orig
4 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ rn_android_library(
7
7
"PUBLIC" ,
8
8
],
9
9
deps = [
10
+ react_native_dep ("third-party/android/support/v7/appcompat-orig:appcompat" ),
10
11
react_native_dep ("third-party/android/support/v4:lib-support-v4" ),
11
12
react_native_dep ("third-party/java/jsr-305:jsr-305" ),
12
13
react_native_dep ("third-party/java/junit:junit" ),
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ rn_android_library(
6
6
visibility = [
7
7
"PUBLIC" ,
8
8
],
9
+ provided_deps = [
10
+ react_native_dep ("third-party/android/support/v4:lib-support-v4" ),
11
+ react_native_dep ("third-party/android/support/v7/appcompat-orig:appcompat" ),
12
+ ],
9
13
deps = [
10
14
react_native_dep ("third-party/java/infer-annotations:infer-annotations" ),
11
15
react_native_dep ("third-party/java/jsr-305:jsr-305" ),
Original file line number Diff line number Diff line change 8
8
package com .facebook .react .views .picker ;
9
9
10
10
import android .content .Context ;
11
+ import android .support .v7 .widget .AppCompatSpinner ;
11
12
import android .util .AttributeSet ;
12
13
import android .view .View ;
13
14
import android .widget .AdapterView ;
17
18
18
19
import javax .annotation .Nullable ;
19
20
20
- public class ReactPicker extends Spinner {
21
+ public class ReactPicker extends AppCompatSpinner {
21
22
22
- private int mMode = MODE_DIALOG ;
23
+ private int mMode = Spinner . MODE_DIALOG ;
23
24
private @ Nullable Integer mPrimaryColor ;
24
25
private @ Nullable OnSelectListener mOnSelectListener ;
25
26
private @ Nullable Integer mStagedSelection ;
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ rn_android_library(
19
19
":res-for-appcompat" ,
20
20
],
21
21
exported_deps = [
22
- ":classes-for-react-native" ,
22
+ ":classes-for-react-native"
23
23
],
24
24
)
25
25
You can’t perform that action at this time.
0 commit comments