I am trying to teach myself Xamarin forms but am having a hard time wrapping my head around how activities and shared code interact with the application specific MVVM.. from what I can gather the model part can be accessed from both the viewmodel and say the main activity, and in turn main activity can access shared code? It feels like all the reference documents are missing out the relationship with activities and shared code?
So if I wanted to make an app that could scan an NFC tag and relay that info to a REST service I would need to create a shared code object API client, platform specific NFC (mainactivity.cs?) And then bind to a model to put data onto the UI?