EXception Cannot access a disposed object. Object name:...
I'm Getting the Following Exception in XAMARIN FORMS. this Exception Raised on Android Device, Working Fine in IOS [MonoDroid] UNHANDLED EXCEPTION: [MonoDroid] System.ObjectDisposedException: Cannot...
View ArticleControlling Text in from Codebehind of other page
So, I have a Main Page, and when I click a button, it opens a popup dialog. From there, the user has options to select, and based on that, the text for a button in the Main Page changes. I have tried...
View ArticleDetecting page orientation change for contentpages
Hi, I came up with a custom content page to check if the device was rotated, my usage was I wanted to change the listview data template if the device rotated for a dashboard view. Content page using...
View ArticleHide TabBar on push in Xamarin.Forms
Did anyone manage to implement hiding TabBar on push (iOS)? I found here on forum some examples, but none of them works. I managed to hide TabBar by changing its frame in custom renderer, however...
View ArticleHow can I give alignment to title which is set using toolbar in xamarin forms?
By default it comes left side on screen I want to set in center
View ArticleTableView Tapped Binding
I dont want to execute the SwitchToFirst Methods. What I would like to do is to set a Binding. But XAML displays an Error if I bind it. What I would like: <ViewCell Tapped="{Binding Switch}" />
View ArticleStart Native Activity From From App.xaml.cs
I have used Dependency services in App.xaml.cs file to start native Android activity , but when start application each time i am getting exception like System.NullReferenceException: Object reference...
View ArticleOnAppearing() not working anymore
I don't know what else to mention besides this but OnAppearing isn't firing anymore. I am using TabbedPage but I was using TabbedPage before when OnAppearing was working as well. Anyways here is what I...
View ArticleHow do I reference one XAML MergedDictionary from another?
I am struggling with XAML Merged Dictionaries. Is it possible to get something like the following working? File Colours.xaml contains this: <?xml version="1.0" encoding="utf-8" ?> <?xaml-comp...
View ArticleHow to get Wifi signal level (Android only is ok)?
Hi, I enumerated all available wifi networks via .ScanResults along with signal level. Now I want to get signal level again for a particular network from this list w/o reading it again. How can get it?...
View Article[Android] Request event support back button press inside navigation bar in...
In Android, like iOS, i use back button press for synchronize view - viewModel. In Android, i use FormsApplicationActivity class and i override OnOptionsItemSelected method for calling physical method...
View ArticleWhat is the font size unit in xamarin forms
I do not have clarity on font size unit in Xamarin forms. What unit is used by Xamarin Forms on Android and iOS? I want to set scaled font size in numeric not string that is provided by Xamarin Forms...
View ArticleHow to find the cause of: Xamarin.Forms targets have been imported multiple...
I'm working my way thru the book "Creating Mobile Apps with Xamarin Forms" and a lot of the sample code requires some work to get it running, which is all very educational and helps me learn and...
View Articlewhy doesn't my SQlite database work?
Hi. I am new using SQLite and with my first project using SQLite i get a lot of errors . I searched a lot and couldn't find an answer. I am using Xamrin Forms and I have installed sql-net-pcl already...
View Articlenuget package install error "MonoAndroid ,Version=v6.0 " and ".NetPortable,...
how can i solve this Colud not install any nuget package.Try to set you project target for MonoAndroid , version=v6.0 and _.NetPortable version=v4.0_
View ArticleXamarin Forms Maps and new Google Maps Policies.
Does anyone know how the new Google Maps policies will affect Xamarin Maps? If I want to show a Map in my app, should I pay every time someone sees it? Does Xamarin Essentials Geolocation and Geocoding...
View ArticleConditional compilation symbols access from XAML file?
Is it possible to access conditional compilation symbols from XAML? I know that I can do things in code behind, but I want know if it is possible to do it from XAML. I need to show an Entry or a Picker...
View ArticleAccessing SQLite database form Xamarin forms using the Mono.data.sqlite APIs?...
Hi, I want to access SQLite using the Mono.data.sqlite API from my Xamarin forms application. The Xamarin.Android documentation says "Add reference to Mono.data.sqlite" but what am I supposed to do in...
View ArticleHow do I animate image on image click
Does anyone know how to animate inside a event handler for an image? I used the following code to associate a event to the image: var tapImage = new TapGestureRecognizer(); tapImage.Tapped +=...
View ArticlerequestLayout() improperly called by
Immediately after I add an object to a list I get the following error: 08-23 20:58:24.574 W/View ( 4164): requestLayout() improperly called by...
View Article