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

How to use MessagingCenter to pass a message from an Android project to the...

I'm struggling to pass a message from my Android project to my PCL project using MessagingCenter. In my PCL project, I have a ContentPage called "AboutPage", while on the Android project I have a...

View Article


Can't get context menu working

Hi, I can't seem to get my context MenuItems to fire either the edit or the delete commands indicated below. The menu comes up just fine, but nothing happens. Hopefully someone can help me out....

View Article


Image may be NSFW.
Clik here to view.

How to make a Tiled Background for iOS and Android?

Hi, How to make a Tiled Background for iOS and Android? If anyone has something ready? else I will do it with custom renderering

View Article

Image may be NSFW.
Clik here to view.

Memory leak in Xamarin Forms ListView with Custom Cells

I've been doing some research on a memory leak our enterprise app has. Thsi app is developed with Xamarin Forms. After several tests i've found that ListViews with custom cell causes memory leak. I've...

View Article

iPad PopToRootAsync() results in System.NullReferenceException

Forms : 1.4.0.6341 I'm working on an app in which the user navigates through a number of ContentPages before reaching a MasterDetailPage. In order to navigate back to the start I'm invoking...

View Article


When I run my application on emulator or device, the main screen doesn't show.

When I run my application on emulator or device, the main screen doesn't show. Last line of Application Output: [OpenGLRenderer] Enabling debug mode 0

View Article

How to add resources to custom xaml ViewCell

Hi all. As you know in xaml for each content page you can specify it's resource dictionary and use them like this <ContentPage xmlns="http://xamarin.com/schemas/2014/forms"...

View Article

Image may be NSFW.
Clik here to view.

Adding Pull To Refresh to ListView for iOS :)

I love pull to refresh and I wanted to add it to iOS. Mark's video is awesome showing you how to use custom renderers, so I applied his practices to iOS:...

View Article


Image may be NSFW.
Clik here to view.

Localize splash/launch image for android and iOS

How could you localize the launch image on iOS and android? I know you can edit an image properties on Xcode, but how do you this on Xamarin? (see image below) For android I'm using the tutorial on...

View Article


An exception has been encountered. This may be caused by an extension.

Hi, Every time that I start a debugging session, when the debugger hits a break-point Visual Studio shows this error: "An exception has been encountered. This may be caused by an extension." Then on...

View Article

How to specify sign-in policies for Azure AD B2C for a Xamarin.Forms (iOS) app?

Hi, My current status is: Xamarin Noob I have used the following sample iOS project as provided here: https://blog.xamarin.com/put-adal-xamarin-forms/ The sample is pretty straight forward and I can...

View Article

How to retrieve mail attachments using IMAP ?

How to retrieve and download mail attachments using IMAP ?.

View Article

Changing ListView's ItemsSource causes an out of range exception in Windows...

There appears to be a bug in the ListView control for Windows Store apps. If you try to change the ItemsSource after it is loaded it throws an exception. The same exception is thrown if I initially...

View Article


Xamarin.Forms.Picker Class Causes App Crash on Android

We took the C# Picker class example from https://developer.xamarin.com/api/type/Xamarin.Forms.Picker/ and are experiencing a crash on Android (Kitkat and Lollipop builds) - This works fine on IOS To...

View Article

Unable to find NameValueCollection in Xamarin.Forms project.

Hi, Does anybody knows where can I find NameValueCollection in Xamarin.Forms portable project? Referring to this link I have check for NameValueCollection class under System.Collections.Specialized...

View Article


Adjust entry in the Grid

I have a Grid with 2 columns, and I want to adjust an Entry in the right column. However, the Entry goes down to the next row and grow to the both columns. Any way to solve it? I already tried to use a...

View Article

Markup Extension: System.NullReferenceException

Hi guys, anyone can help me? I'm getting this error and when I look my StackTrace, I've got this error: Xamarin.Forms.Xaml.MarkupExtensionParser.SetPropertyValue Here is the code I'm using, just for...

View Article


How to block user interaction while activity indicator is running?

Hi, I need to block the entire page from user interaction until activity indicator is running.Please help. Thanks

View Article

Protecting local proprietary data in an app

I have a Xamarin.Forms app that uses a local SqLite database as its source for data. The data is proprietary, so I want to protect it so that if someone gets access to the database file, they would...

View Article

iOS and Android dependency classes' inheritance causes "You must add a...

In my Xamarin.Forms project I have a dependency interface `/* * Interface to get device IP address on network, implemented natively in .Droid's and .iOS's IPAddressManager.cs */ public interface...

View Article
Browsing all 77050 articles
Browse latest View live


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