...
|
...
|
@@ -12,6 +12,7 @@ import LoadMoreIndicator from '../../../common/components/LoadMoreIndicator'; |
|
|
import UploadProgress from '../home/UploadProgress';
|
|
|
import SuperMan from '../home/SuperMan';
|
|
|
import TimerMixin from 'react-timer-mixin';
|
|
|
import {Actions} from 'react-native-router-flux';
|
|
|
|
|
|
const {
|
|
|
View,
|
...
|
...
|
@@ -161,8 +162,14 @@ export default class Section extends React.Component { |
|
|
});
|
|
|
}
|
|
|
|
|
|
componentWillReceiveProps(nextProps) {
|
|
|
if (nextProps.scrollToTop) {
|
|
|
this.listView.scrollTo({x: 0, y: 0, animated: false, });
|
|
|
}
|
|
|
}
|
|
|
|
|
|
componentWillUnmount() {
|
|
|
this.timer && clearTimeout(this.timer);
|
|
|
|
|
|
}
|
|
|
|
|
|
_renderRow(rowData, sectionID, rowID, highlightRow) {
|
...
|
...
|
|