...
|
...
|
@@ -55,7 +55,7 @@ export default class Home extends Component { |
|
|
}
|
|
|
|
|
|
_onEndReached() {
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
_renderFooter() {
|
...
|
...
|
@@ -65,10 +65,10 @@ export default class Home extends Component { |
|
|
render() {
|
|
|
|
|
|
let {list, ptr, isFetching, endReached, showLoginTip, cachedList} = this.props.data;
|
|
|
let dataSource = list.size == 0 ? cachedList.toArray() : list.toArray();
|
|
|
let dataSource = [];
|
|
|
|
|
|
let isPullToRefresh = ptr && isFetching;
|
|
|
let isLoadingMore = list.size != 0 && !ptr && isFetching;
|
|
|
let isLoadingMore = false;
|
|
|
|
|
|
return (
|
|
|
<View style={styles.container}>
|
...
|
...
|
|