@react-native-hero/picker 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36,7 +36,7 @@ android {
36
36
  dependencies {
37
37
  implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
38
38
  implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${safeExtGet('kotlinVersion', '1.3.40')}"
39
- implementation 'com.contrarywind:wheelview:4.1.0'
39
+ implementation 'com.github.LuckyCodeer.Android-PickerView:pickerview:4.2.8'
40
40
  }
41
41
 
42
42
  apply plugin: 'kotlin-android'
@@ -45,6 +45,14 @@ class PickerView(private val reactContext: ThemedReactContext) : WheelView(react
45
45
  override fun getItem(index: Int): String {
46
46
  return stringList[index]
47
47
  }
48
+
49
+ override fun getMaxValue(): Int {
50
+ return 0
51
+ }
52
+
53
+ override fun getMinValue(): Int {
54
+ return 0
55
+ }
48
56
  }
49
57
 
50
58
  if (tempIndex >= 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native-hero/picker",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "react native picker",
5
5
  "main": "index.js",
6
6
  "scripts": {