(event)
| 26 | } |
| 27 | |
| 28 | onOptionLayout(event) { |
| 29 | const { height } = event.nativeEvent.layout; |
| 30 | const { optionHeight } = this.state; |
| 31 | |
| 32 | if (height !== optionHeight) { |
| 33 | this.setState({ |
| 34 | optionHeight: height, |
| 35 | listStyle: this.resolveListViewStyle(height), |
| 36 | }); |
| 37 | } |
| 38 | } |
| 39 | |
| 40 | getVisibleOptions() { |
| 41 | const { |
nothing calls this directly
no test coverage detected