I'm developing an android game using xamarin.android. Backend logic of game is hosted on smartfox server and I'm using smartfox Unity client API to consume the services.
My project architecture is: Xamarin.android -> PCL (portal class library).
Smartfox server client API is implemented within the PCL. Smartfox server keep triggering callback methods from backend and we have to capture those callback events and modify UI basis on that.
Now I'm unable to implement an architecture which can capture these callbacks and send it to UI. I'm able to capture callback within PCL but don't have any idea how to forward these to UI.
Please help me out with an architecture that can fit into this particular scenario. I tried to implement triggers but don't know how to access a UI method in PCL.