Right now, our code only display the 5 nearest mosques from the location of the user's H-A device. But we have to handle the case where the user doesn't find his mosque in the 5 suggested mosques by adding a paging system on the interface that permits to swipe to the next page if the user didn't find his mosque yet.
For this purpose, we will use the search_mosque API call that can receive an additional parameter (?page=n) where n represent on which page we want to search, every page return 5 mosques.
Right now, our code only display the 5 nearest mosques from the location of the user's H-A device. But we have to handle the case where the user doesn't find his mosque in the 5 suggested mosques by adding a paging system on the interface that permits to swipe to the next page if the user didn't find his mosque yet.