dewango / BottomNavigationBarXF

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

BottomBarPageExtensions' does not contain a definition for 'GetBadgeColor #102

Open tahirmehraj opened 6 years ago

tahirmehraj commented 6 years ago

I have constantly getting this error 'BottomBarPageExtensions' does not contain a definition for 'GetBadgeColor' because it's using BottomBarPageExtensions file from metadeta. I have uploaded my project here also https://github.com/tahirmehraj/Bismillah capture

shivanimangla13 commented 6 years ago

update your package to latest and you will get your answer and this error will be solved

reense commented 6 years ago

@shivanimangla13 I'm also getting this error, to what version are you referring?

madkarlsson commented 6 years ago

I also ran into this problem. Some other issue in this repo mentioned that the latest nuget does not match the code. For some reason it has not been published. Since they haven't released the new version of the nuget the only way I could fix it was to fork/download and build it. Do a release build and then include the DLL in your project (and the android DLL in any android projects). Not ideal and very poor support from thrive regarding this sadly.

reense commented 6 years ago

Any workaround @madkarlsson ?

madkarlsson commented 6 years ago

@reense As I stated above, the nuget that you download does not match the code in this repo because it apparently hasn't been published properly. So to get access to the GetBadgeColor and a few other functions you have to:

  1. Fork/clone or download this repo
  2. Load it up in visual studio
  3. Do a release build
  4. Include/reference the DLLs manually in your main project and the Android DLL in your Android projects
Phenek commented 5 years ago

Hey, @madkarlsson Did you find a solution? I tried a lot of stuff, but always with an issue with no debug information I also forked your repo but I got a JavaLang exception when lauching the App.

If you got a solution and could help, it will be very appreciated. regards,

Phenek commented 5 years ago

Hey @madkarlsson , 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 it

madkarlsson commented 5 years ago

@Phenek Whoa, nice! We had completely missed that, thank you.

I would suggest you could fork or use our version repo (BlockZero) if you need the fixes but I saw you already did that :)