Paged Result Set¶
The paged result set allows an end-user to page through a set of results that is larger than the communication channel is able to display fully.
Code¶
The state that implements this pattern is called the PaginatedChoiceState and is documented at the Go JSBox documentation.
Implementations¶
- RTS Zambia uses a paged result set to allow an end user to page through a list of districts.
- Switchboard uses a paged result set to allow a community health worker to select a cadre from a long list of cadres.
- mAgriculture used a paged result set to allow a farmer to select crops from a long list of known crops.
- NewsWorld uses a paged result set to display a list of news headlines.
Notes¶
- the PaginatedChoiceState is a variation of the ChoiceState but adds the ability to page through a larger set.