In this video we are going to create a simple android example that demonstrate how to perform pagination on an android RecyclerView.
Here we create a simple Image Gallery app that fetch images from a remote server. In server we create a simple API that supply requested number images in the form of pages.Each page contain a fixed number of images. When the user swipe up the RecyclerView and when reach end of a page we have to next page from the source. The source may be a remote server or the resource folder inside the app itself.
Here we fetch the information from server using retrofit and we display the image on the imageview using Glide image loading library. Here the response from the server is a JSON array.
Like my Facebook page : https://www.facebook.com/codeglympse
Subscribe My YouTube channel : http://www.youtube.com/ticoontechnologies