Add and tweak ListView wrapper methods

This commit is contained in:
Scott Kyle 2016-02-08 17:55:06 -08:00
parent 31db79e29b
commit a55faef0ce
1 changed files with 6 additions and 2 deletions

View File

@ -167,8 +167,12 @@ class ListView extends React.Component {
return item ? props.renderRow(item, sectionId, rowId, ...args) : null;
}
scrollTo(x, y, ...extra) {
this.refs.listView.scrollTo(x, y, ...extra);
getInnerViewNode() {
return this.refs.listView.getInnerViewNode();
}
scrollTo(...args) {
this.refs.listView.scrollTo(...args);
}
setNativeProps(props) {