Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 this issue Sep 27, 2018 · 2 comments

Comments

@jordan-hewitt
Copy link

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
Copy link
Author

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
Copy link

Phenek commented Oct 26, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants