How to use PageRequest to realize Pagination

48 views
Skip to first unread message

Samgin Shen

unread,
Aug 27, 2015, 5:05:46 AM8/27/15
to ektorp-discuss
I ues Ektorp 1.4.2. I can follow PageRequest's test source to get next page,like : 

PageRequest NextPageRequest = PageRequest.firstPage(Num).nextRequest(nextKey, nextId).page(1).build(); 

But I can't use getPreviousPageRequest() to get previous page. This function return  Id&key same  nextRequest.

In Documentation, It described not clear.


Samgin Shen

unread,
Aug 27, 2015, 5:05:58 AM8/27/15
to ektorp-discuss
Reply all
Reply to author
Forward
0 new messages