Why do they always do this when I have absolutely no spare time to fix problems?
Problem description: Pagination is broken. You just get the first page over and over again when trying to get more results.
Analysis: In the past (talking Gingerbread times here), pagination was the job of the client app. A search request was a HTTP GET request with four url parameters:
- “c”: category number (apps, music, …)
- “q”: query text (what the user typed into the form)
- “o”: offset (number of entries to skip in the result set)
- “l”: length (number of entries to put in the result set)
So, assuming you wanted 15 entries per page and see the third page, you’d give Play o=45 and l=15.
Personally, I think thats a great change, as it makes client side filtering of search results possible, but it also means that Google is phasing out pre Jelly Bean support from Play (not really sure what Android Version Raccoon’s communication layer is based upon).
Workaround: None (except changing the pagesize in SearchView.java: replace withLimit(10) with whatever you find appropriate). This is a non trivial change and in the worst case requires rewriting a piece of the com layer. Not sure when I’ll find the time for that.