Created
January 20, 2020 09:52
-
-
Save sourleangchhean168/b350a75733eb62f77308027a97373262 to your computer and use it in GitHub Desktop.
PaginationListTableview
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func tableView(_ tableView: UITableView, willDisplay cell: UITableViewCell, forRowAt indexPath: IndexPath) { | |
if indexPath.row + 1 == list.count { | |
if currentPage != totalPage{ | |
self.getList(currentPage + 1, max_row) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment