Bug 45995 - Android.Support.V7.Widget.Toolbar is missing NavigationClick event
Summary: Android.Support.V7.Widget.Toolbar is missing NavigationClick event
Alias: None
Product: Components
Classification: Xamarin
Component: Xamarin Components ()
Version: Production (addons.xamarin.com)
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: Jon Dick
Depends on:
Reported: 2016-10-27 09:59 UTC by Leon
Modified: 2017-05-25 15:59 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Leon 2016-10-27 09:59:16 UTC
Since the latest update to the support library component (24.2.1) the NavigationClick event is missing from the Android.Support.V7.Widget.Toolbar class.

A temporary workaround is possible through using the SetNavigationOnClickListener method with a IOnClickListener, but this is not ideal and the event is preferred.
Comment 1 Bill Holmes 2017-05-25 15:52:34 UTC
Jon should know best, but I would guess that you are interested in the NavigationClick event.  There are 2 Click Listener handlers on the Toolbar class and there are two events.

MenuItemClick and NavigationClick.
Comment 2 Jon Dick 2017-05-25 15:55:26 UTC
25.3.1 definitely has these events.  Please update to this version if you have not already done so.
Comment 3 Bill Holmes 2017-05-25 15:59:51 UTC
Ignore what I said.  I misread the bug.  I too can confirm that 25.3.1 has the events.