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

header in listview problem

Hi I would like to have a header in listview only if there aren't item in a listview. If i write something like if(App.ListaSoggetti == null) _listView.Header = new Label() { Text="Nessun dato", XAlign...

View Article


How can I tell if ImageSource.FromFile successfully loaded an image

I have a scenario where I'm dynamically loading images, using ImageSource.FromFile, in my Xamarin Forms project based on strings that I get back from a service call. If I have a graphic with the same...

View Article


How can I use EditorRenderer in a Unified API app?

I've converted a small project from Classic to Unified, but now I'm getting the following compile errors: Error CS0012: The type MonoTouch.UIKit.UITextView' is defined in an assembly that is not...

View Article

Master/Detail view landscape issue on Android

Hi all, I've a problem with the master/detail view on landscape orientation. When I have my device on portrait and the master view open, the menu closes when I click beside it. This is what I expect....

View Article

MPMoviePlayerController dependency service

Hi I am not able to add the dependency service for the MPMoviePlayerController. Below is the code which I have written. The code does not throw any error. I have checked the documentation for the...

View Article


bindableproperty datatemplate

I'm trying to build a custom layout. i defined a bindableproperty of type DataTemplate. When the ItemsSource changes I apply the datatemplate to the children, this all works fine. However, if the...

View Article

How to stop a ListView.ScrollTo animation

I've been having some issues that happens when the listview is already scrolling. Is there a way to force the previous scroll animation to stop before starting a new one?

View Article

Global event to push when offline

Many functions in my app can only be used if the user have access to the database. I would like to push to another view or show an alert view if the user gets disconnected. Is there a way I can check...

View Article


How to set ItemTemplate to StackLayout?

How can I set an ItemTemplate to a StackLayout? It works fine for a simpler variation using only TextCell. With StackLayout, it throws an exception. I think the issue is Databinding. I'm unsure of how...

View Article


view/page lifecycle info

any info/docs on this? I'm especially interested in knowning what happens when in xaml views - i.e when do controls get created. I'm currently trying to set some properties on a xaml view, in the...

View Article

Default Font

Is there a way to globally set the font type of an app?

View Article

Parse with Xamarin

Can I integrate Parse with my xamarin.forms pcl project to receive notifications on all 3 platforms?

View Article

TableView cells disappearing on iOS

I'm having an issue with a TableView where cells become blank after scrolling through the table. This code works correctly on Xamarin.Forms 1.3.1.6296 Stable and stopped working correctly with...

View Article


Adding CarouselPage as a subpage ?

Hey, writing again to ask some professionals if there is possibility to add CarouselPage as subview of ContentPage? I need to make something like gallery, but at the bottom I need to have thumbnails....

View Article

Best way to open Xamarin forms page from native

Hi, So I have an app in forms which consists of 2 pages, a list view and when clicking on the list item it opens up some details. However, when I receive a notification (lets say with Android), and the...

View Article


Carousel

So I have posted on this topic before and only had a reply of "works for me". However, 2 months into Xamarin development this still does not work for me even with a simple example. I am only coding to...

View Article

Horizontal sizing of Picker view

When using a horizontally centered Picker (HorizontalOptions is either Center or CenterAndExpand), changing the selected value results in the text in the Picker being clipped. This happens across...

View Article


How to pick up PreferredLanguages correctly when using iOS simulator?

I am testing my app with different languages. On Windows Phone and Android, everything is fine. However, testing in the iOS Simulator, the code for detecting the language is not picking up the...

View Article

Wrapping text on a Button

I have a Button on which the text is set dynamically. I would like the text to be word-wrapped on the Button and for the Button to expand vertically to be large enough to show all of the text without...

View Article

How to consume SMP OData services in xamarin forms application?

We have a xamarin forms application for iOS, Android as well as Windows. Here we need to consume data from SMP OData services. Can anyone help us how to consume data from OData services in Xamarin...

View Article
Browsing all 58056 articles
Browse latest View live


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