Skip to content

当我加载第3页数据时 onLoading函数没有响应,造成一直停留在加载状态 #3

@jkmgg

Description

@jkmgg

simulator screen shot - iphone 6 - 2019-02-19 at 21 49 13

下面是我的代码:
<LargeList
ref={ref => (this._list = ref)}
data={this.items}
heightForIndexPath={() => 184}
renderIndexPath={this._renderIndexPath}
loadingFooter={ChineseWithLastDateFooter}
onLoading={()=> {
console.info(this.total)
if (this.total.page < this.total.pages) {
actions.userorder(this.state.status, parseInt(this.total.page) + 1);
}
}}
allLoaded={this.state.allLoaded}

			/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions