Add and tweak ListView wrapper methods
This commit is contained in:
parent
31db79e29b
commit
a55faef0ce
|
@ -167,8 +167,12 @@ class ListView extends React.Component {
|
||||||
return item ? props.renderRow(item, sectionId, rowId, ...args) : null;
|
return item ? props.renderRow(item, sectionId, rowId, ...args) : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
scrollTo(x, y, ...extra) {
|
getInnerViewNode() {
|
||||||
this.refs.listView.scrollTo(x, y, ...extra);
|
return this.refs.listView.getInnerViewNode();
|
||||||
|
}
|
||||||
|
|
||||||
|
scrollTo(...args) {
|
||||||
|
this.refs.listView.scrollTo(...args);
|
||||||
}
|
}
|
||||||
|
|
||||||
setNativeProps(props) {
|
setNativeProps(props) {
|
||||||
|
|
Loading…
Reference in New Issue