I have a button which opens the Camera using a class called CameraModel. This is done with a Binding Command.
Button to open Camera:
Part of CameraModel.cs:
Besides that, I also have a ListView with several items. I use ItemTapped, where only one of the items performs something when tapped:
Now I face the following problem as you already see in the previous picture:
I want to call CameraModel.cs from one specific ListView Item.
When ‘Text3’ is tapped, you can see that the DisplayAlert will show something, but now I want to add that when I tap ‘Text4’ the Camera will be opened (using CameraModel).
I have no idea how to add the Binding Command to one specific ListView Item, or how to change the code so that a Binding Command is not needed.
How can I do this?
Hope someone can help.