Baseflow / Baseflow/Xamarin-Sidebar
Blank menu content when used with Xamarin Forms
- Dominant language
- C#
- Stars
- 112
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Here's how I am setting up the SideBarController for one of my Xamarin Forms pages (via a renderer):
My Renderer:
```
public override void ViewDidLoad()
{
base.ViewDidLoad();
var nativeView = NativeView;
if (nativeView != null)
{
var rootViewController = UIApplication.SharedApplication.KeyWindow.RootViewController;
Sidebar = new SidebarController(rootViewController, this, new MenuViewController());
}
}
```
When I slide the menu out, it is a blank white view. I've tried other options, like just newing up a view controller and passing that in as the root view controller, but I see the same results. I've tried moving this code to the OnElementChanged method, but still the same problem.
Have you or anyone else had any success when integrating with Xamarin Forms?
Contributor guide
Assessment
This issue has not been assessed yet.