dewango / BottomNavigationBarXF

Bottom Navigation Bar for Xamarin Forms
MIT License
187 stars 97 forks source link

Follow step by step on https://devlinduldulao.pro/how-to-create-bottom-navigation-bar-in-xamarin-forms/ and https://www.youtube.com/watch?v=Cp_2F621Az0 get Java error #108

Open jordan-hewitt opened 5 years ago

jordan-hewitt commented 5 years ago

I have followed the step by step guides on both that Devlin Duldulao website and the YouTube video on a brand new project and get the following Java error:

Java.Lang.ClassException has been thrown

android.widget.LinearLayout cannot be cast to android.widget.ImageView

I have tried to debug all of the files that need to be imported into the project, yet none of the breakpoints inside each function are hit.

I am trying to implement this in C# without XAML, is that the problem??

Please help, I cannot find out a way to get this to work.

jordan-hewitt commented 5 years ago

I realized it is whenever I try to run a brand new program with just the packages downloaded in the PCL and Droid solutions. Even without implementation, I get the error.

Phenek commented 5 years ago

Hey @jordan-hewitt no body answer you! Maybe you already known? But with Xamarin.Forms 3.x you can put the Android Tabbed page at the Bottom and it's official!

I found this https://montemagno.com/xamarin-forms-official-bottom-navigation-bottom-tabs-on-android/

And the Xabre's Tab Badge Library , they did a Pre-release 2.1.0-pre.3 to support badges on it