See subject.
A good exercise as it includes implementing proper paging.
The latter must be generic enough to be able to retrofit the search with it. That way, it can deal with more than 100 search results, which it would try to do on high-enough screens.