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

ContextActions for listview in forms 1.3 is superb

Hi i just wanted to share this new AMAZING feature introduced with forms 1.3. I just tested either in ios or in android and it works fine, Basically in the cell constructor is enought to put code like...

View Article


AbsoluteLayout use all available height

How can I get an Absolute Layout to use all available height whilst still allowing views below it to stay on screen ? or how can I retrieve the devices screen width and height ? I can not depend on...

View Article


Resource.Layout.Main

Im trying to get a splash screen working in a Xamarin Forms app for Android. For some reason Resource does not have layout... anyone know why? using System; using System.Collections.Generic; using...

View Article

Built-in Device.Styles in XAML not working?

Hi, I'm trying to use the built-in Device.Styles in XAML like <Label Text="Some text" Style="{x:DynamicResource CaptionStyle}"/> But no matter what style I use, it's not working. What I'm missing?

View Article

Image may be NSFW.
Clik here to view.

[Xamarin.Forms] ListView with custom ViewCell containing an Image; How do I...

Hi, So, I have a ListView with custom ViewCell containing an Image and I've created a class called RateObject that looks like this: ` public class RateObject { public String ImagePath { get; set; }...

View Article


ListView does not scroll to top when you replace the ItemsSource.

I cannot find a workaround for this. Has anyone run into this? My problem is I'm filtering data and then I'll hit the single result and it will be scrolled above the view so it looks like nothing is in...

View Article

Loading image from non-bundle file

In my app, we're creating an image using a Signature Pad, and then assigning the result to an Image tempImage1.Source = new FileImageSource { File = sig.Filename }; this works great on iOS, with an...

View Article

IValueConverter not found.

I cant get my converter to get accepted, and cant figure out what I'm doing wrong.... Have read all I could find, but the compiler wount accept the XAML. Converter: namespace CDMForms.Converters {...

View Article


iOS build failure - An assembly with the same identity.....

Environment Visual Studio 2013, Xamarin.Forms v1.3.0.6292, Target Framework=xamarinios10 Sorry for the cross post but had no luck posting this in the Visual Studio forum. I get the following three...

View Article


An assembly with the same identity has already been imported (Microsoft.BCL)

I'm getting the following 3 errors when building my XF iOS app (the Android project builds with no issues). Has anyone any ideas how to fix this? An assembly with the same identity 'System.IO,...

View Article

Custom URL Scheme

Hi, I would like to create a custom URL scheme, but I've stumbled upon some problems. The url scheme "example://key/secretkey" fires the below LoginActivity: [Activity(Label = "Sifo.PanelApp",...

View Article

navigation drawer for xamarin form cross-platform apps

I am developing cross-platform apps using xamarin form. I would like to know how to implement navigation drawer in both iOS and Android. Regards, Alex

View Article

Webservice calls in queue: problem on Android

I hope someone can help me, I have a queue for webservice calls and it works perfectly in Windows Phone and iOS, but not on Android. I can't get a response from Android. Here is my code (usage...

View Article


"Clickable" Label

I want to create a label that when onclicked it will call a method. Is this possible? Reading about using ICommand, but it seems limited to TextCell/ImageCell, Button and Toolbar Item.

View Article

Can I define resource only once and use it in XAML and in Android layouts?

Hi! I have some resources (colors defenitions in this case). And I use these resources in Xamarin.Forms XAML and in Android xml layout defenitions (for my custom renderers) as well. Can I somehow...

View Article


Help on this Layout

Hi, I am working on the attached layout(1), please find the attched code(code text file). I need to get rectangle shape boxes, but i am getting the rounded corner boxes with gap(attached screen 2)....

View Article

Pull to refresh on Adapters

Hi, may i know how to perform the detect on the gesture swipe down and refresh on the custom list adapters ?

View Article


Load more listview using XF

Hi is there any sample code with latest 1.3 that i can refer to for load more pagination using XF? I want a list view to load data via pagination style. 20 records at a time. Will load next 20 if the...

View Article

Access to the native object from within a dependency service?

Is it possible to access the native object if I pass it to a dependency service? For example I want to pass an Entry instance to the iOS and Droid services I have created. In iOS I want to get access...

View Article

Launch an Android intent from the Android Project into the shared Project

Hi, I have a portable Project and im trying to launch an Android Activity out of the Android Project and put it into the shared Project but I always get an unhandled exception. In my Portable Project i...

View Article
Browsing all 58056 articles
Browse latest View live


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