Quantcast
Channel: Recent Threads — Xamarin Community Forums
Browsing all 204402 articles
Browse latest View live

ContextAction Command from custom ViewCell

I have a custom ViewCell which gets selected by a Tempalte Selector. Now i want that the Command from the ContextAction is executed in the corresponding page ViewModel, but i don't now how to get the...

View Article


Accessibility in XF

We have to stay in XF core 2.0.0 but I need to be able to have extra props on buttons, images, labels, etc... for the screen readers (talkback and voiceover) to read instead of the caption or text....

View Article


Xamarin.Android does not support running the previous version while deploying...

My Xamarin PCL project was working fine since I downloaded Android SDK Platform 27 and updated all NuGet packages. When try to deploy solution to my device (running Android 7.1) I get this output...

View Article

Show image from /var/mobile/Containers/Data/Application/.... path

I am trying to show the image from this location /var/mobile/Containers/Data/Application/B78AC09D-DFB1-4D10-9F27-07C26D2B838C/Documents/Sample/sudhir_1.jpg below is my code: Image img1 = new Image();...

View Article

Shell, load all tabbed pages at once. Forms 4

I'm using the prerelease of Xamarin Forms 4, and am trying out App Shell. I have my pages setup like this for bottom tab navigation: <ShellItem> <ShellSection Title="Stats"...

View Article


Image may be NSFW.
Clik here to view.

Reproduce carousel view behaviour/animation/transition to a horizontal scroll...

Hey developers, I have so far tried to use a carousel view due to its ease of use and of course its performance. But I tried to show the tail of each UI elements (let's say we've a bunch of cards)...

View Article

CSharp.Core.Targets error after upgrade

I was wondering whether anyone else had experienced this problem since upgrading VS Mac to 7.6 (Build 2190)? One of my long-standing projects now fails to compile for iOS, giving the following error:...

View Article

Image may be NSFW.
Clik here to view.

Timer multiple call

Hi I'm facing a problem with timer. I tried to make a countdown (from 60s to zero) and everything works fine when I first call the method, but when I call it second time, it goes twice as fast and so...

View Article


How to tell if android app is in the background or foreground

How can I detect if my Android app is in the background or foreground please? This is to only send push notification when the application is in the background. I need to perform this check in : public...

View Article


Shell - Add page with constructor argument

I'm trying to use the new Shell for Forms 4.0 I have some pages that I would have added in the past like this new GenericPage("link"); Is there a way I can do that with Shell in xaml? This is what I...

View Article

run adb as root by Visual Studio

I have a problem to debug my application because I can't run adb as root by Visual Studio. My application does some stuffs when the device boot, by a BroadcastReceiver on...

View Article

Consume System.Drawing.Common package in Xamarin Android app?

My rendering code is now ported to .Net Standard 2.0 assemblies for portability. Next step is to consume said assemblies in a Xamarin Android app. However I do not seem to be able to consume for...

View Article

Obtaining Exception "Xamarin.Forms.Platform.Android.Platform+DefaultRenderer"'.

Hi , I have facing the below exception issue while using the rotator click one page and move on to next page this crash occur. This happens randomly don't know why it comes "Unhandled Exception:...

View Article


Image may be NSFW.
Clik here to view.

Resource Dictionary for UWP/macOS and fonts

Hi guys, I want to use a custom font for my app. I copied the font files in: iOS: under Resources - Build Action BundleResource / Copy to Output Directory: Do not copy Android: under Assets - Build...

View Article

Hybrid app built with XamForms, accepted on iTunes Store

Just FYI really. We had a AngularJS based web app, the whole SPA deal. We packaged it up using Xamarin.Forms using a WebView with a custom renderer for the web view for both iOS and Android (customer...

View Article


How to subscribe an event without setting Control.Delegate to null in a...

I need to extend the Xamarin.Forms ListView to have an async method for scroll the list view to top. Create a control and the custom renderer to subscribe the scrolling ended event inside the...

View Article

How long do I need to wait before placing links in forum a post?

I get this message when trying to submit a post: "You have to be around for a little while longer before you can post links."

View Article


UWP crashing after latest vs2017 update

After updating to the latest release of VS2017 I keep getting an error when I try to debug my UWP XF applications with an error saying "Unable to activate Windows Store app ……. The …..exe process...

View Article

how to add user's location marker on custom map

Hellow! How to add user's location marker on my custom map? I have made my map by the toutorial docs.microsoft.com/en-us/xamarin/xamarin-forms/app-fundamentals/custom-renderer/map/customized-pin It's...

View Article

Hi, I am facing Deployment to emulator error in Xamarin Forms

I am trying to build a Xamarin forms Application, It's a blank code, the code builds perfectly without error but it does not get deployed on an emulator. If I click "Start without Debugging" then the...

View Article
Browsing all 204402 articles
Browse latest View live


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