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

Async operations issue in Android and iOS

Hi, I am using Xamarin.Forms. I have two functions to be executed in Asynchronous mode. It works fine in Windows Phone. But in Android and iOS the second function waits for the first to complete...

View Article


ListView reuse Cell?

So I was fooling around with the TodoMVVM sample ( https://github.com/conceptdev/xamarin-forms-samples/tree/master/TodoMvvm) and I noticed in Instruments that when I scroll the list the number of...

View Article


Multi-line text on buttons - how to get consistent across platforms?

When the Text property of a Button is set to text that contains more than one line (i.e. has a carriage return/linefeed in the middle), what gets displayed is different on each platform. On iOS, only...

View Article

No IOS simulator or device appear on Visual Studio

I'm with business account on build server and visual studio My build host is connected: On diagnose, just the last step isn't pass, is "out dated" The IOS project is the start up project. The...

View Article

Accessing the SetScaleType public method on ImageRenderer for Android?

On Xamarin.Forms, I'm trying to create an Image custom renderer. Right now, I'm working on creating the custom renderer for Android, which based on the documentation it needs to inherit from...

View Article


Binding a switch

Hey guys, I am trying to SetBinding to a switch in Code - behind (not XAML) but I have not been successful. homePhoneSwitch.Toggled += (object sender, ToggledEventArgs e) => {...

View Article

Create Database cross platform

As I can create a database for a multiplatform application? Ie I create a database for example, SQL Server 2013 and implement the same?

View Article

Image control and memory...

I am debugging some out of memory issues and have some pointed questions: Have there been any improvements made to the Image control in recent releases since 1.2? Particularly concerning Android. When...

View Article


Dynamically change the xaml of a Custom ViewCell after pressing a button

Hello, I have a List View with that loads a custom DataTemplate. Everything works ok at loading: I am using a different ContentView for specific cells. My only problem is, when I want to change the...

View Article


DLToolkit PageFactory - simple MVVM for Xamarin.Forms (github)

DLToolkit.PageFactory for Xamarin.Forms The main reason for creation of PageFactory was that I needed very simple to use library which would free me from implementing the same things for any...

View Article

[Blog] Creating a custom image viewer control with panning using NControl

Hi, I've blogged again, this time about how to create a simple custom control with the NControl library that lets you view an image and pan it around inside the control:...

View Article

Microsoft.Practices.Unity - Inconsistent Version Numbers

I'm getting a build error when attempting to use XLabs.IoC.Unity. It's stating that: CSC: error CS1705: Assembly 'XLabs.Ioc.Unity, Version=2.0.5679.29829, Culture=neutral, PublicKeyToken=null'...

View Article

Has anyone solved the deployment pipeline problem? [DevOps]

I'm a purist at heart and DevOps is a passion of mine. One principle that I hold near and dear is the idea that an assembly should be built (compiled) once and then deployed to the various...

View Article


capturing softkey strokes in a xamarin forms application

We are developing xamarin forms based application for an Android target platform which can be used by sales representatives who will be travelling on the allocated route(to them) to deliver food items....

View Article

Is there any way to change maximum value of Slider after it appeared on form?

Hello guys, i need to change maximum value of slider becouse it depends on another field(Edit). What is the best possible way to do that?

View Article


Having different FontSize per platform from XAML

hello I have the following style defined for a label but the font size does not change, is what I am doing possible, if so, what am I doing wrong ? <Style x:Key="NameLabelStyle"...

View Article

Environment.GetFolderPath not exists Cross Plataform

Hello Guys, im creating a SQLIte connection following this example: string documentsPath = Environment.GetFolderPath (Environment.SpecialFolder.Personal); But when i will write the code...

View Article


"Unfortunately [Application Name] has stopped"

I am creating an app and everything is working on the virtual device in both debug and release mode but when I try to install this on my android device I keep receiving the following error...

View Article

Android Video Player using Xamarin.Forms

I am trying to get a video player working in my Xamarin.Forms app on Android. I have implemented the iOS version using a ScrollViewRenderer where I add the MPMoviePlayerController (code at bottom, file...

View Article

ListView exception after Context Actions command

I have problem with listview. There is command on VM that takes me to another page (navigation service is basically NavigationPage.PushAsync). There is no problem when i click 'add' on toolbar, but...

View Article
Browsing all 79144 articles
Browse latest View live


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