Hi, there's a problem on click next page when recordcount is equal to maxrecords per page in paginatetable function.
I changed it to:
final Cursor c3 = indexInfo.maincursor;
indexInfo.numberofpages=(int) Math.ceil(((double)c3.getCount()/10)); //10 is max. records
And works. Regards.