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

Autosize font label

I have seen a custom approach to autosize the font of a label, but I am missing such a built-in feature. How do you others handle different font size on different systems / resolutions, please?

View Article


Scanner Event

Hello, I am working on creating a Xamarin.Forms application for Android and I need to incorporate a barcode scanner into the application. I am using an MVVM approach with XAML on the front end. The...

View Article


Grouped Horizontal Listview

I'm trying to make a grouped listview with the items (which just consist of an image and a title underneath the image) in each group side by side rather that in a single column. Has anyone done...

View Article

Push Notifications and Calendar - Cross Platform

I am trying to ensure that Xamarin.Forms will do all that we need for cross platform App development, before we purchase licenses. Two separate requirements we have, are to be able to : Generate a...

View Article

Update to Xamarin Forms 1.5 and Xamarin.iOS for iOS 9 breaks SignalR Client...

Hi, I have a PCL 4.5 - Profile 7 Xamarin.Forms project that uses the Microsoft.AspNet.SignalR.Client NuGet package (in the shared DLL project, not the device-specific projects). It doesn't do anything...

View Article


How to dismiss ViewCell context actions

I'm looking at android at the moment here, I have a list view which has cells with context actions. I would like to dismiss the actions when the list is either refreshed or the item selected is...

View Article

How to add OnAppearing () function in ListView page

Hi, I want to call my API(web service) from my List view page. For that, How to add OnAppearing () function in ListView page?? Please anyone help me, It's really urgent for me. Thanks

View Article

Bug in DisplayActionSheet, when user touches outside to cancel

await DisplayActionSheet ("TEST ACTION SHEET", null, null, "Action A", "Action B"); Causes "index beyond bounds" exception when the user touches outside the popup area. Touching outside means cancel....

View Article


Is it safe to pass null to DisplayActionSheet? Question for Xamarin please.

I have been trying to use DisplayActionSheet to implement what should be a trivial piece of functionality. Inevitably there was a pretty significant bug on WinPhone (#21652) that cost some time, but...

View Article


What are the correct Xamarin.Forms.Keyboard mappings for a custom renderer?

Or better yet, is there a method in Xamarin.Forms that'll set it for me? Here's what I have so far, but I know I'm way off, and don't support KeyboardFlags, which I'd like to be able to. Droid private...

View Article

Anyone know how to remove the blue line under Android ListView Group Headers?

Hi, has anyone successfully managed to remove the thin blue line under the Android Listview Group Headers? I've tried a number of approaches, nothing appears to work, any help would really be...

View Article

Listview bind 'gradually' or async?

I have a listview I'm binding to a result set of Yelp businesses. The list is like 20 or so long. Each one has an image property that's a URL. The listview has an image bound to the image property of...

View Article

Image may be NSFW.
Clik here to view.

[Material] TextInputLayout Renderer (Floating Labels)

Just thought I'd throw this out there. If you want floating labels on your Entry (as found here (by JamesMontemagno)), I've thrown together a custom renderer that extends Entry. note: this requires the...

View Article


IOS screens now look streched

Hi all, Not sure what I have done, but my forms app screen now looks stretched and all the fonts are massive on iphones, yesterday it was all fine. I upgraded by windows machine and mac to the latest...

View Article

Bug with Image Control on Android?

I have an Image control that I'm using on Android and iOS. In iOS the image appears with the correct orientation. On Android is displays sideways. The Image's source is bound to a property that returns...

View Article


Is there an "OnDestroy" event for XamarinForms?

Hey guys, is there an option to do something before my android app will be killed?

View Article

connectivity plugin

@JamesMontemagno Hi! I've a problem with your connectivity plugin. I write this code: if(CrossConnectivity.Current.IsConnected == false){ await DisplayAlert("Connessione", "Connessione non presente",...

View Article


Xamarin.InAppBilling, how to get Activity not Context in Xamarin.Forms

When a user clicks a button, I want the Google popup to show (if on Android platform of course). I can do it, but only in my regular ProjectName.Droid project. I cannot do it with DependencyService...

View Article

Image may be NSFW.
Clik here to view.

How can i implement a timer in xf ? i need a sleep safe timer

Hi all, i currently use "Xamarin.Forms.Device.StartTimer" to start my timer. As suspected, when application goes to sleep mode, timer go to sleep with it. Is there any way to implement a timer ? Please...

View Article

Forms.ListView crashes when ItemSource has item removed and another inserted

I am at my whits end - any help would be greatly appreciated. I have a PCL Xamarin.Forms app on iOS and Android. The app runs great on Android but crashes on iOS. To best illustrate the issue, I have...

View Article
Browsing all 75885 articles
Browse latest View live


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