Android: Network calls stacking with LiveData
I have the following problem:
I have to make 2 network calls, one is a quick one and is important to be displayed as fast as possible and the other one is a lot slower, but it doesn't matter if it's slower. Both network calls' result end up in the same list of objects (size is about 50), which are displayed in a recycler view.
-In order to make the second call, the first one needs to be complete.
I currently have a method that does the first network call and when we get the result from it,...