I tried to make it work modifying the official example (from docs.microsoft.com: the path: /en-us/xamarin/xamarin-forms/app-fundamentals/dependency-service/introduction), but seems like interface demands a value to return and the following doesn't work:
public interface IRetrieveDataService
{
RetrieveData();
}
The EventListner I'd like to use through Interface is described in this video from youtube.com: the path: /watch?v=OC-dy3YFLoo
Source code is in the video's description.
Sorry for paths, I can't post links yet