Xamarin.Android display dropdown menu when Home Button on ActionBar is clicked -
Xamarin.Android display dropdown menu when Home Button on ActionBar is clicked -
i need display dropdown menu showing logout alternative when home button on actionbar clicked.so overided method
public override bool onoptionsitemselected (imenuitem item) { if (item.itemid == android.resource.id.home) { openoptionsmenu (); // startactivity (typeof(mainactivity)); } homecoming base.onoptionsitemselected (item); }
but debugger prints optionmenu empty.how can populate optionmenu info items?
android android-actionbar xamarin
Comments
Post a Comment