I have a requirement where I need to navigate to another Activity or page created in my core project of my PCL app. All the sample I checked takes me to a website using the URI. What should i change in the code below that will allow me to navigate to different pages in my app when the pin is clicked?
public class CustomMapRenderer : MapRenderer, GoogleMap.IInfoWindowAdapter
{
...
void OnInfoWindowClick(object sender, GoogleMap.InfoWindowClickEventArgs e)
{
var url = Android.Net.Uri.Parse(customPin.Url);
var intent = new Intent(Intent.ActionView, url);
intent.AddFlags(ActivityFlags.NewTask);
Android.App.Application.Context.StartActivity(intent);
}
}