Files
MuditaOS/module-apps/application-music-player/doc/data/update_data_sequence_flow.puml
Maciej Gibowicz 5ca5e759c6 [EGD-7674] Add separate list of music files currently being played
In addition to the list of music tracks displayed to the user,
a separate list of currently played tracks has been implemented.
2021-10-06 20:28:55 +02:00

28 lines
598 B
Plaintext

@startuml
skinparam BackgroundColor F0F0F0
participant "SongsPresenter" as presenter
participant "SongsModel" as model
participant "SongsRepository" as repo
participant "DataBase" as db
presenter -> model : play
model -> repo : updateRepository
repo -> db : GetLimited query
db -> repo : records
...
presenter -> model : getNextFilePath
model -> repo : getNextFilePath
repo -> model : NextFilePath
model -> presenter : NextFilePath
...
presenter -> model : getPreviousFilePath
model -> repo : getPreviousFilePath
repo -> model : PreviousFilePath
model -> presenter : PreviousFilePath
@enduml