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

SfListView not detecting swipe image when using prism?

Trying to handle clicking on a image in the leftswipe area. Using prism as below..but tapping on a image does nothing and produces no error. Any suggestion? ...............................

View Article


System.IO.FileNotFoundException Could not load assembly System.Drawing

Hello, I meet this error in a Xamarin.forms project using WebView and local html base url: Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'System.Drawing,...

View Article


How to use 'speechrecognition' plugin?

Hi I'm want to use 'speechrecognition" (https://github.com/aritchie/speechrecognition) I know how to install it by asking the developer directly, but I can not use it. How do I use 'Continuous...

View Article

Issue with Forms 2.4.0.280 on an android [No view found for id 0x1 (unknown)...

Hello, After an update of xamarin.forms nuget to 2.4.0.280, I have an issue with an android Here's stack trace: 09-29 06:50:25.610 E/mono (17500): Unhandled Exception: 09-29 06:50:25.610 E/mono...

View Article

Android OpenGLView displays on simulators but not on physical devices

Hi all, I have a bit of code here that runs very well on iOS, and in the Android simulator (all is displayed properly). However, I have tried to run it on two different devices (Nexus 5, and SM-P900)...

View Article


Setting a header of a grid in a listview

Hey, I am trying to add a header to my listview. My listview contents will be a grid, so the column sizes will change dynamically. I have tried using listview.header, but the size of the header column...

View Article

How to resolve the error _WebTryThreadLock(bool) in Xamarin forms IOS

Hi, I am getting the below error in iPhone 10, other phone it is working fine. I am trying to close the popup page has one webview and button, on button click I am showing an confirmation alert message...

View Article

WCF communication problem for Android device only

Hi there My app throws the exception "SecureChannelFailure. The authentication or decryption is failed". Strange enough, it is not working for Android only. The iOS device works fine with no errors at...

View Article


Weird Pressed shadow in android after updating to XF 2.5

Hello After upgrading to XF 2.5 I have a weird small shadow on every android button after pressing them. https: //drive.google.com/open?id =1V3LMp5o1f8hwaPZL3jTA4b8jJToyq-5t here is a video of what...

View Article


Tizen on macOS

Hi guys, Has anyone had any success running Xamarin.Forms.Tizen on macOS? I read this article: https://blog.xamarin.com/add-tizen-projects-xamarin-forms-apps/ It sounds really promising and it mentions...

View Article

Getting IndexOutOfRangeException when I try to get the DependencyService for...

This is the code for the TabbedPage.xaml `using RapidRate.Models; using RapidRate.Services; using RapidRate.ViewModels; using System.Collections.Generic; using Xamarin.Forms; using Xamarin.Forms.Xaml;...

View Article

How to add items to custom control

I would like to build a custom Frame control with an SKCanvasView as a background. I already have a "SolidBox" control which works wonderfully. Currently, I make a Grid, fill it with a SolidBox, then...

View Article

Java.Lang.IllegalArgumentException: No view found for id 0x1 (unknown) for...

In my project after updating all nugets I get the error; Java.Lang.IllegalArgumentException: No view found for id 0x1 (unknown) for fragment FragmentContainer{b5b55d0 #2 id=0x1}. How can I solve it?...

View Article


Performance problem with scrollview

Hey guys! I'm currently developping an application with xamarin in C# for ios and Android and I've come with performance issues. I have 2 pages that are problematic but it may be for the same reason so...

View Article

WebView read and set cookies.

Hi there, I am new to xamarin forms but not to c#. But still... I have made a website wrapper and i want to read/set cookies from the webview. But where do I start, i read something about making a...

View Article


fixed with/mono font

I have been trying to draw a label in fixed with font. How is this done? This does not work: <Label Text="P1" FontFamily="Generic Monospace"> There must be some font that is available on both...

View Article

Add a data into the Listview

Hi, I use navigation page to navigate from page A to page B. Page B only contains a Entry When a users Enter a data in the Entry. The page is poped. Now when popping page B, I would like for page A to...

View Article


Convert base64 string to PDF file

Hi there. I have the scenario is below: A base 64 string (i catch from a webservice) that represents a PDF file I need convert that string to a PDF file, and open with the default PDF reader Must work...

View Article

Convert docX to PDF free

I'm trying to figure out how to convert a docX file that was downloaded as a byte stream and written to a file into a PDF so that I can open it using the PDFViewPage. I'd rather not pay for any...

View Article

Font loading error based on platform

Hi, I'm trying to follow the same code as found under Working With Fonts. Original: label.Font = Device.OnPlatform( iOS: Font.OfSize ("MarkerFelt-Thin", NamedSize.Medium), Android: Font.OfSize ("Droid...

View Article
Browsing all 81910 articles
Browse latest View live