dotnet-ad / dotnet-ad/MarkdownView
Browser
Open
- Dominant language
- C#
- Stars
- 129
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
Would be nice to use the [Xamarin.Essentials Browser](https://docs.microsoft.com/de-de/xamarin/essentials/open-browser?tabs=android) as default.
Browser in the app (LaunchMode) is better user experience.
My current workaround:
```csharp
markdownView.NavigateToLink = NavigateToLinkAsync;
```
```csharp
private static async void NavigateToLinkAsync(string obj)
{
var options = new BrowserLaunchOptions
{
LaunchMode = BrowserLaunchMode.SystemPreferred,
};
await Browser.OpenAsync(obj, options);
}
```
Thanks for your work!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.