I'm trying to subscribe to onTimeIndexChanged
mediaplayer event. It works fine, as long as view that I'm subscribing in stays focused. When I press back button, or widgets button, my view gets blurred and it no longer receives events.
Is it possible for this subscription to persist through switching views? Are there widget-wide subscriptions?
I am trying to find out if it is possible to count time of playback client-side.