amatkivskiy / MaterialDrawer-Xamarin

DEPRECATED!!! Xamarin bindings for https://github.com/mikepenz/MaterialDrawer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No Maintenance Intended

DEPRECATED

⚠️ This is no longer supported - unfortunately, I am not in the Xamarin development anymore. ⚠️

MaterialDrawer-Xamarin

Join the chat at https://gitter.im/amatkivskiy/MaterialDrawer-Xamarin

Nuget badge

Xamarin bindings for https://github.com/mikepenz/MaterialDrawer

Download

NuGet Package

Issues

Due to different generic type systems in C# and Java fluent api is not available for:

  • PrimaryDrawerItem
  • SecondaryDrawerItem
  • ToggleDrawerItem
  • SwitchDrawerItem

Simple workaround is to replace

new PrimaryDrawerItem().WithName(Resource.String.drawer_item_compact_header).WithIcon(GoogleMaterial.Icon.GmdWbSunny).WithIdentifier(1).WithCheckable(false);

with

var header = new PrimaryDrawerItem();
header.WithName(Resource.String.drawer_item_compact_header);
header.WithIcon(GoogleMaterial.Icon.GmdWbSunny);
header.WithIdentifier(1);
header.WithCheckable(false);

About

DEPRECATED!!! Xamarin bindings for https://github.com/mikepenz/MaterialDrawer

License:Apache License 2.0


Languages

Language:Java 98.9%Language:C# 0.6%Language:Batchfile 0.3%Language:Shell 0.2%