https://github.com/carrys17/SqliteTest 自己跟着视频敲的代码,需要的可以看下
2017-06-30
pageNum也可以这样获取:
pageNum = totalNum % pageSize ==0 ? totalNum/pageSize : totalNum/pageSize+1
pageNum = totalNum % pageSize ==0 ? totalNum/pageSize : totalNum/pageSize+1
2017-04-28