samples
samples copied to clipboard
WRQ-9365: Added VirtualGridList sample to load data incrementally for infinite scrolling
Checklist
- [x] I have read and understand the contribution guide
- [ ] A CHANGELOG entry is included
- [ ] At least one test case is included for this feature or bug fix
- [x] Documentation was added or is not needed
- [ ] This is an API breaking change
Issue Resolved / Feature Added
I have a request on how virtualgridlist should be implemented if data is continuously loaded.
Resolution
I used VirtualGridList's onScrollStop handler to load data when the scroll reaches the bottom. Assuming that data has been fetched, I implemented it to attach mock data.
Additional Considerations
Links
WRQ-9365
Comments
Enact-DCO-1.0-Signed-off-by: Hyelyn Kim ([email protected])
Please check the enact lint --strict in this sample
Could you please add this pattern sample link to all-samples as other samples? https://github.com/enactjs/samples/blob/master/sandstone/all-samples/src/App/App.js
Let's change the sample name.
The sample name and other reviews have all been applied.