I am new to Xamarin.Forms. I think like a normal coder. If Android, do this... if Ios, do this...
In Xamarin Forms, say someone clicks a button which is binded to a view model, what is the common way to select method between Android and IOS?
FYI, there are 3 projects in a Xamarin Solution
- Project
- Project.Android
- Project.IOS
The View model is inside 'Project' =>
`private async void OnLoginClicked(object obj)
{
//If Android??
//If IOS?
}`