Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Browsing all 89864 articles
Browse latest View live

Bindings lead to a static property that is never instantiated

I am using ObjectiveSharpie to bind an objective C library to be used in a Xamarin project. I try to access BBDeviceController.SharedController, but SharedController is null, while BBDeviceController...

View Article


Image may be NSFW.
Clik here to view.

update and new version of android project

hi guys! I have a xamarin forms project i will release and install my test app on my phone and every things is ok but when i try to release new version of my app i see app in not installed i should...

View Article


Image may be NSFW.
Clik here to view.

Listview with nested context in Xamarin Forms C#

I have a listview and I am trying to bind its context to a nested list with multiple items and headers. This is how the XAML looks like <StackLayout> <ListView x:Name="listView"...

View Article

Label in View not updating from the View Model

I have a label in my View (WelcomePage.xaml): <Label Style="{StaticResource Paragraph}" Text ="{Binding WelcomeText, Mode=TwoWay}" HorizontalOptions="Center"/> Under the WelcomeViewModel...

View Article

How to hide NavigationBar in TabbedPage.Children?

NavigationPage.HasNavigationBar="False" not work.

View Article


Dotfuscator error - External type not found

When trying to build my Xamarin.Forms app in release config using Dotfuscator, I am getting the following error: [Build Output] External type not found...

View Article

How to get the currently selected Cell object in a ListView?

The reason I'm asking is because I want to set BackgroundColor to something other than the default orange colour when I select an item in the list (Android). Cheers, Space Monkey

View Article

Image may be NSFW.
Clik here to view.

Xamarin Action Bar Color Change Dynamically

Hi team, please help I am unable to change the action tool bar change dynamically based on (Wifi Connection, My Web Api Connection) is On/ Off . Text Color has to change based on Connected/ not...

View Article


Image dimensions help please

I've been banging my head on the keyboard for long enough so I'm asking for some help. I have a XF app (iOS, android, and UWP) where the user takes some pictures or pick from the gallery and I store...

View Article


Why is there not a way to set the icon for a Secondary ToolbarItem

I am trying to use the ToolbarItems to be able to navigate in my app. I am using the Order="Secondary" to have the ellipse icon and a drop menu. I have been using a lighter color for my...

View Article

"System.NullReferenceException" with GTK#

As a beginner, I wanted to make a simple game with Xamarin.Forms using GTK#. Unfortunately, when I started to use a Navigation Page, there is a line throwing a "System.NullReferenceException" error....

View Article

Xamarin android OAuth with ADFS and ADAL Issues

I am writing a Xamarin.Forms app that uses ADAL to authenticate with. I am using ADFS for authentication and am only worried about the Android client right now. My problem is, whenever I invoke the...

View Article

What are the hardware requirements for Xamarin.Forms development on a Mac?

I'd like to create Xamarin.Forms applications on Mac computer but from Windows Virtual Machine running on that Mac. According to Xamarin docs site, the mac operating system has to be macOS High Sierra...

View Article


Webview certificate issue

Hello guys, I'm having problems with a webview and certificates on my PCL project. I tested only the android version, so we're talking about Xamarin.Android. I'm getting this error ( only from that...

View Article

Unable to instantiate receiver com.facebook.CampaignTrackingReceiver:...

I have just upgraded to xamarin.facebok.android 5.0.3 nuget and i am getting this error below. this is a typical proguard error. but i really dont get what is this class for? it looks like facebook ads...

View Article


WebView Renderer with WebViewClient

Hello Everyone, I am using Web View in my Xamarin PCL application which is working fine. However currently some HTTPS pages stop loading only on Android (iOS working fine). So after some google, I have...

View Article

Xamarin Forms App cannot connect with SSL web api

I have a xamarin forms app which connects fine if the web api is NON-SSL. I have written a windows console project to connect to the same web api(both ssl and non-ssl) and seems to work fine. I am...

View Article


Picker not updating SelectedIndex (MVVM)

My picker SelectedItem is binding to SelectedProfile but I want the default value to be the index of the SelectedProfile, which is set in the ViewModel. XAML: <Picker Title="Select a profile"...

View Article

Image may be NSFW.
Clik here to view.

Xamarin.Forms apps cannot debugged in Android emulator

This has been going on for a couple months now. I've tried everything. I can't figure it out. The error that pops up is this: To fix this I have to uninstall and reinstall the Mobile Development option...

View Article

Tabbed page and Hamburger Menu

Hello I have a MasterPage with a left menu, and a Tabbed menu with 5 pages, when I navigate in tabbed menu everything is fine, but when I push a page from the left menu, the tabbed menu is lost, how I...

View Article
Browsing all 89864 articles
Browse latest View live