pocheshire / BottomNavigationBar

Bottom Navigation Bar for Xamarin
214 stars 70 forks source link

SetItemsFromMenu Obsolete #12

Closed rheckart closed 8 years ago

rheckart commented 8 years ago

The example on the project's home page shows using SetItemsFromMenu, but the compiler shows a warning indicating obsolete, deprecated. What is the proper way to set the menu items?

pocheshire commented 8 years ago

@rheckart right way is use

_bottomBar.SetItems(Resource.Menu.bottombar_menu);
_bottomBar.SetOnMenuTabClickListener (this);

instead SetItemsFromMenu.

I removed obsolete method from example