How to play Sound and Animations in MVVM
- by user275561
I have read alot of blogs about the best way to play sound/Animation but if possible I would like to see a simplified example on how this is done so I understand better.
So to my understanding in MVVM
The View--Sound and Animation
The ViewModel--If some value is true, i would like to play the Sound and Animation on the view.
Now How would I go about doing this. I was told to use interfaces like ISoundService and IAnimationService. Implement in the View and then do what? If possible, a workable bare bone example will help alot.