in my Xamarin Forms app I want to scan barcodes. In this thread https://forums.xamarin.com/discussion/21578/trying-to-use-zxing-barcode-scanner-in-a-forms-app-getting-error-about-startactivity someone suggested to use Acr.XamarinForms.
Now I tried to start by understanding the sample but i have the following problem:
In the sample they wire up the viewmodel with the corresponding view in this line of code:
Container = new ContainerBuilder() .RegisterMvvmComponents(typeof(App).GetTypeInfo().Assembly)
But I just dont understand how I can explicitly add a new Viewmodel and where the connection to the view is.
Any help is appreciated!