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

Image may be NSFW.
Clik here to view.

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 Article


Controlling 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 Article


Detecting 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 Article

Hide 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 Article

How 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 Article


TableView 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 Article

Start 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 Article

OnAppearing() 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 Article


How 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 Article


How 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 Article

What 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 Article

How 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 Article


why 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 Article

Image may be NSFW.
Clik here to view.

nuget 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 Article


Xamarin 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 Article

Conditional 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 Article


Accessing 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 Article

How 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 Article

requestLayout() 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
Browsing all 77050 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>