I am using Coding4fun progressoverlay control in my Windows Phone 7 app. This control has Hide and Show methods for displaying the progress bar.
So in order to show and hide the progress bar I need to write the code in the code behind , (I would be intrested if this can be done in ViewModel).
So I have subscribe to events in the view. My viewmodel publishes this event
But when I use IEventAggregator in the constructor of view , my app doesn't get loaded. I assume the dependency injection is failing.
Below is the code of constructor on MainPage (view
public MainPage(IEventAggregator events)
this.events = events;
Can anyone help me to achieve this.