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

Custom ViewCell layout issue - Entry expands past screen bounds

I am trying to get a simple TextBoxCell working. I want a label on the left in all platforms to have a consistent layout. ` public class TextBoxCell : ViewCell { private Label label; private Entry...

View Article


Strange error on iOS 9 XF 1.5

Same times, usually when the iPhone have no internet, my app crashes and the message in the debug output is this: 2015-09-24 15:09:39.950 UseallE2ComercialAVMobileiOS[2556:735137] ** -[UIApplication...

View Article


Dynamic ContentViews with MVVM

I'm struggling to get content on ContentPage to change based on a property in my view model. On Screen I see "My App" and "Bottom" but I see nothing for the middle content (expecting that to appear in...

View Article

Mocking Xamarin DependencyService Injection for Unit Tests

How is this even possible? The only way I can see to call DS is via class methods, there is no container I can even register a Mock instance of, constructor injection also seems impossible (these are...

View Article

The type 'Platform' does not exist in the namespace 'SQLite.Net'

Cant seem to get SQLite.Net PCL to work Performed the following: Opened Xamarin Studio for Windows Version 5.9.6 Start a new Xamarin.Forms Solution Update All Packages Run default App in emulator to...

View Article


Xamarin forms FileNotFoundException Xamarin.Android.Support.v4 ( Visual Studio)

I Have been trying to use maps in Xamarin Forms in Visual Studio, but when I finished this error show up: Severity Code Description Project File Line Error Exception while loading assemblies:...

View Article

ZipArchive CreateEntry returns null for valid filepath

I am having difficulty with the ZipArchive's CreateEntry function. On Android, entry is defined and the functions completes. However on iOS, the entry I get back is null. I have tested the filename to...

View Article

Raise an evento from Native Activity to Page

Hi folks. I've this situation (I think I've already talk with @adamkemp about this type of situation). In "Android" side, I have a BroadcastReceiver which "Receive" data from an intent and "Raise" an...

View Article


Previously working adapter methods crashing app

I am working on a Xamarin.Forms app. I uses the Monkey.Robotics plugin. I have based my app on this sample. It has been previously working. However, having moved the code in full into another project,...

View Article


How to setup Charles Proxy SSL with Flurl?

I'm able to see traffic with http requests, but when I try https, I get a rejected certificate. I've tried installing the Charles SSL certificate and am able to see other SSL traffic on my machine, but...

View Article

Unable to play saved videos from Isolated Storage on Android

Hi, I am developing a cross platform application using Xamarin Forms which has the following requirements:- Download and save videos to phone storage for offline viewing. Saved video files should not...

View Article

Navigate to page after async task completed

Hi! I've got a problem. When I trying to go to another page from Task.ContinueWith(() => { //And here i'm navigating } that's not works Navigation works sometimes if I move navigation line from...

View Article

Xamarin forms android image is not getting compressed

I'm working on xamarin forms project. I'm taking images from gallery and uploading those to server. My back-end is parse backend where we can not upload files having size more than 1MB. So, I'm trying...

View Article


Can the padding between rows in a Grid be changed?

Hi there, I'm having a little trouble using the Grid layout in Xamarin Forms. I am using a Grid in my application, which contains a number of rows, each containing a label and a picker, side by side. A...

View Article

Expandable ListView/TableView using Xamarin.Forms

Hi, Is it possible to implement expandable List- or TableViews using Xamarin.Forms? Any help is appreciated.

View Article


When using tab gesture on image, transparent part should not fire eventhandler

Hi I created a user interface where I have a "pie chart like" user interface. I want the different parts of the pie to react on a tab gesture. I used and image for this and that works fine. However, my...

View Article

BindableProperty doesn't trigger PropertyChanged/Changing?

We have a BindableProperty set up as follows: public static readonly BindableProperty DateProperty = BindableProperty.Create<DatePickerCell, DateTime?>(ctrl => ctrl.Date, defaultValue:...

View Article


Runtime Err in XF.Droid proj - No known package when getting value for...

I started getting this error after upgrading to XF 1.5 and all other associated updates to other modules including XS. From the stack trace given below, it appears that there is some issue with setting...

View Article

NavigationPage in Xaml

Sorry for such a simple question. What is the structure for the NavigationPage in xaml? Among others, this is what I have tried. <?xml version="1.0" encoding="UTF-8" ?> <NavigationPage...

View Article

Forms 1.5 with Xamarin Visual Studio latest (as of Sept24, 2015)

I am using Visual Studio 2015, and have updated my mac to the latest Xamarin release as well. I create a new project, "Blank App (Xamarin.Forms Shared)" After project creation, I open "Manage NuGet...

View Article
Browsing all 75885 articles
Browse latest View live


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