I am building an app using CatApi.
There are paginated list of items which gives image_ref_id and using that id I have to fetch images for all the items to show in feed.
What would be most efficiently approach for this ?
Update:
In the feed response, I am getting the image_ref_id and using that I have make another api call to get the image url.
Image api have another information as well which i want to consume.
Image loading is something you don't need to do manually anymore, there are well established libraries for this, which display an image based on an url. They handle all that caching etc. for you
In case you're using compose, this might be e.g. coil