+22
−73
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Since we only need to show the sorted list of media, there is no need to use loading states. Instead, we can have them in a common model that should be exposed by interactor. View-model should expose the list of MediaCommonViewModel that contains view-models of either media controls or recommendations and non-UI change actions. The common view-model will be used by DiffUtil to figure out the events occured on the new list and call actions. Flag: ACONFIG media_controls_refactor DISABLED Bug: 326281896 Test: atest SystemUITests:MediaDataFilterImplTest Test: atest SystemUiRoboTests:MediaCarouselInteractor Test: Build. Change-Id: I8b9a8fce266f322d94ad12ad38bcc393ad84ad5e