I'm very new to android development. I'm receiving images and data from Flicker API using retrofit and showing it into my recyclerview. When I'm online images are loaded in imageview using URLs provided by API but now I want to store images and data into room database to work recyclerview offline (like Instagram). When the internet comes back online, it should refresh the recyclerview with more images.
Please help.