Getting blank page with no views
See original GitHub issueI have integrated this library using flag forceNonDeterministicRendering = true since, we don’t know width and height of each element, but seeing whole page as blank sometimes.
<RecyclerListView style={{ flex: 1 }} onVisibleIndexesChanged={this.onVisibleIndexesChanged.bind(this)} forceNonDeterministicRendering={true} layoutProvider={this.layoutProvider} dataProvider={this.state.dataProvider} rowRenderer={this._rowRenderer} />
Layout provider code:
this.layoutProvider = new LayoutProvider( index => { return this.getDataSource()[index].widgetType }, (type, dim) => { dim.width = width; dim.height = height; } );
Please help me getting this resolved
Issue Analytics
- State:
- Created 5 years ago
- Comments:12
Top GitHub Comments
@nehacurefit It is important that the given values are close estimates. It is very important for good perf. You don’t have to know exact values, just close approximations. @yuvaraj119 Are you sure there were no JS errors in your code?
Great. Closing this.