Is it possible to invoke platform-dependent behaviour on custom controls or pages through the renderer? For example, I want to make a custom ContentPage that has support for a kind of popup notification system. Obviously this will differ between iOS and Android so I was hoping I could put the platform-dependent implementation of 'ShowNotification' into the renderer and call it there, but I can't really see any way to invoke the renderer manually from within the page. I might be able to do it using dependency injection but I'd rather keep all the public API contained within the custom Page if possible. Is this simple/possible?
↧