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

Multi-line Label with tail truncation

Is a Label in XF configurable to support multi-line (wraps) and tail truncation at the same time? In iOS, I can do this by specifying the number of lines on a UILabel and specifying tail truncation. If...

View Article


How to update UI after async Task in viewmodel

I have a xaml page with label. I want to update label after some async task. In my ViewModel constructor I set default text for my label. And create a async Task function named SomeTask(). Question 1:...

View Article


DisplayAlert not showing in async task

I'm trying to bring up a yes/no message box on my app when a file is detected on an FTP server, to ask the user if they want to delete/replace the existing file, or cancel the file upload. So far, I've...

View Article

Can't Resolve Platform Effect in Xamarin Forms component

I don't normally like posting in two places, but since my thread on SO has gone unanswered, I'm hoping that someone who can help sees this here. If I do receive an answer here or on SO I will make sure...

View Article

How can i set a Binding for the Backgroundcolor of a RelativeLayout in C#...

Hello, i need your help. I have a ViewCell with a RelativeLayout. I want to use a Binding for the BackgroundColor of the RelativeLayout. So in XAML it would work like this: <RelativeLayout...

View Article


Android Menu and Back Button not working

Hi I have an Xamarin.Forms project targeting Android, iOS and UWP. In my Android-App, the hardware backbuttons of my phone are not working (back button and also the menu button). Why is that? Did I...

View Article

SQLiteNetExtensions

update the SQLiteNetExtensions to version 2.0.0 and I get this error "return connection.GetAllWithChildren (). ToList ();" does not recognize me the connection.GetAllWithChildren help please

View Article

Is it possible to have an entire ContentView be focusable?

If I have a ContentView for a customized control is there a way to tell when the view is tapped in general? I want to be able to call a Focused method like a SearchBar or Entry would have. Something...

View Article


Image may be NSFW.
Clik here to view.

Detecting grouped header key in a Listview with FastScroll

Is there any way to detect the grouped header key when i released the bar of FastScroll in a Listview? This is my scenario: Im using a grid with pics of employees and beside of it I have a listview...

View Article


Nested ListView in Xamarin.Forms (ListView inside another ListView)

I have created a nested ListView in Xamarin. But unfortunately, the binding works only with the Parent ListView and NOT with the Child List - sub ListView. I tried to verify if there is any error with...

View Article

I'm missing something fundamental about installing Xamarin Components...

I'm working on a cross-platform project (Android, UWP, iOS) and am trying to get PCLStorage to work. I used the Component store and installed PCLStorage via Manage Nuget Packages in each project. I...

View Article

Azure Notification Hub PNS Handle

I am working on a Xamarin.forms PCL project and I am having trouble finding a way to register my device in Azure Notification Hub with a unique username tag. For my API I need to pass in a PNS handle...

View Article

Image may be NSFW.
Clik here to view.

Android datepicker on iOS

Hello everyone, is there any way to get a datepicker that looks like the android one on iOS? I honestly dont like iOs datepicker, i think its ugly and it does't fit my app style.

View Article


How to add Tags to "Push Notification" Azure notification Hub

Hi I need to add tags, after the user has logged in. (AD groups as tags) https://azure.microsoft.com/en-us/documentation/articles/xamarin-notification-hubs-push-notifications-android-gcm/ I know that...

View Article

Serilog with Xamarin Sink - Disconnected mode

I'm using the serilog nuget along with the xamarin sink to do logging in my xamarin forms app. This works fine when my device is connected to my mac but I want to run the app disconnected and then...

View Article


How to resolve dependency in cases when your ViewModel needs to do something...

I have a situation where I need to focus on an Entry field (so View component) from my ViewModel. That creates dependency which is not good. For example, I have this I have View and view code behind...

View Article

Errors uploading APK in Android Things Console

Hi, I've built a release version of a Xamarin.Forms app for Android Things that runs on the Raspberry Pi 3 both in debug and in release. I'm trying to upload the apk to Android Things Console and I...

View Article


How to Update my Existing SQLite DB during upgrade my app in iOS?

I faced an issue with updating my SQLite DB during upgrade my app version. I implemented an iOS app and my version is 1.0. And I have a DB structure which contains 2 tables, each table has 5 columns....

View Article

We can't add OpenIddict to our ASP.NET Core webapi

Hi Guys, We are implementing Facebook authentication in our backend ASP.NET Core webapi, but we are having issues with adding OpenIddict, we can't add it and get a red underline. Can anyone help me out...

View Article

Strange map behavior when popping back after using editor

Hello all, I can't seem to work out whats happening with my map. I've got a custom renderer but I don't think its causing this (admittedly haven't checked). I push a new view which has a text editor....

View Article
Browsing all 77050 articles
Browse latest View live


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