How to create application scooped pool of jobs to avoid duplication of network API call in android
How to create application scooped pool of jobs to avoid duplication of network API call in android.
Lets assume my NetworkManaget has methods called getData(uniqueId: String): List
and let's say multiple screen is calling getData(uniqueId) method from the same requests at the same time.
Here requirement is, NetworkManaget should not make duplicate API call however it should serve the results to all screens.