5,296 questions with Xamarin tags

Sort by: Updated
0 answers

Xamarin - Setting WebView's crashes app after setting source random times

I am developing a Xamarin app that has a View with a WebView control added to the XAML. A WebView is being used to load dynamically generated HTML (based on various criteria from a database and C#). A HtmlWebViewSource is used to set the source from…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2021-01-13T21:02:38.167+00:00
Cpt Data Crunch 1 Reputation point
commented 2021-01-19T08:51:53.62+00:00
JessieZhang-MSFT 7,706 Reputation points Microsoft Vendor
0 answers

Not able to build Android project in Xamarin.Forms

Getting below error while building a Xamarin.Forms solution. Severity Code Description Project File Line Suppression State Error The file "obj\Debug\81\stamp_ResolveLibraryProjectImports.stamp" cannot be created. Could not find a part of…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2021-01-18T11:29:57.02+00:00
Raul Nandy 21 Reputation points
commented 2021-01-19T08:19:50.793+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 68,656 Reputation points Microsoft Vendor
0 answers

Collectionview is broken when I change grid

I have a list where can be one or more than grid. I am trying to use collectionview for this. But when I change grid, view of some collectionview items are broken (on iOS app). As in gif: But when I swipe scroll, broken grids are getting better.…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2021-01-19T07:54:23.33+00:00
Pelin Konaray 291 Reputation points
0 answers

Item Size When Using FlexLayout

I have a FlexLayout that wraps (or doesn't wrap) when the content changes. Here is the XAML for the FlexLayout & ItemTemplate: <FlexLayout x:Name="flexTrackers" AlignContent="Center" AlignItems="Center"…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2021-01-18T21:03:30.097+00:00
Nathan Sokalski 4,116 Reputation points
commented 2021-01-19T06:01:14.09+00:00
JarvanZhang 23,951 Reputation points
2 answers

Repeated Button Click Events Through Holding

I have a Xamarin.Forms Button for which I want the Clicked event to be repeatedly triggered when the user holds the Button. Is there any good way to do this other than manually starting & stopping a timer using the Pressed & Released events?…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2021-01-13T21:57:22.613+00:00
Nathan Sokalski 4,116 Reputation points
commented 2021-01-19T02:57:21.83+00:00
JarvanZhang 23,951 Reputation points
1 answer

Hi, have a "System.Reflection.TargetInvocationException Message=Exception has been thrown by the target of an invocation.

Hi, this exception is being thrown on code that earlier worked fine. It is a message posting call only, sending a phrase to a message

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,277 questions
asked 2021-01-18T18:45:07.353+00:00
Kevin A 101 Reputation points
answered 2021-01-19T01:59:36.937+00:00
Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
1 answer One of the answers was accepted by the question author.

uitableview cell height not resizing

Hi ..I am tryoing to increase the height of UITableViewCell. I have tried setting height - automatic, estimated value -80 and even tried seeting a definite height for tableviewcell..but nothing is working. i have attached the tableview and…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2021-01-18T14:03:20.913+00:00
Prity Balyan 96 Reputation points
accepted 2021-01-18T19:39:58.437+00:00
Prity Balyan 96 Reputation points
1 answer

Xamarin.Android.Crashlytics: Update to latest by Nov 15,2020.. Facing an issue while compiling

Hi, I had to update my Crashlytics, as they stopped sending Crashlogs post Nov 15th 2020, in the process i'm getting the below error and unable to compile. …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2020-11-30T09:58:22.47+00:00
Raghavendra G R 121 Reputation points
answered 2021-01-18T15:08:29.75+00:00
Raghavendra G R 121 Reputation points
0 answers

apk generated from xamarin doesn't work i have an error: app not installed

Hello , i am doing an app with xamarin with a map , i have followed these steps :setup when i generated the apk following these steps :release-prep by the apk i couldn't install the app from the apk and when i run the app from the visual…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2021-01-18T11:53:37.007+00:00
bilel miled 21 Reputation points
commented 2021-01-18T13:34:39.003+00:00
Alessandro Caliaro 4,181 Reputation points
1 answer One of the answers was accepted by the question author.

LinearGradientBrush Have Problem in Xamarin.Forms 5 Update in Android

Hi, how are you Recently in Xamarin.Forms 5 update ,there is a problem in my Listview items its become transparent color when scroll down this problem happen just when i use LinearGradientBrush in my Frame and before this update I was not faced with this…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2021-01-17T20:45:40.037+00:00
SimonGhost 256 Reputation points
commented 2021-01-18T13:08:11.637+00:00
SimonGhost 256 Reputation points
2 answers

Xamarin android emulator black screen/Can`t run blank project

All in title. At the first: Hyper-v is enable, processor - amd, i dont have HAXM. What i`m tried: Set Release mode and in advanced settings enable x86 architacture. No errors in logs, i just tilted and cant start developing on Xamarin. I`m also…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,277 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
945 questions
asked 2021-01-17T06:59:04.363+00:00
Sna1l1 11 Reputation points
commented 2021-01-18T11:58:16.637+00:00
Ken Tucker 5,846 Reputation points
1 answer

Multiple channels on Android

I am using azure notification hub for sending push notifications to android and ios. On Android devices 2 notification "Channel" created with different config for sound/lights/vibration. what should be the payload to deliver message to…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2021-01-15T05:23:56.447+00:00
Krunal Berawala 1 Reputation point
commented 2021-01-18T09:45:30.243+00:00
JarvanZhang 23,951 Reputation points
1 answer

Xamarin Forms Map usage in production

Hi, I have an app that uses Xamarin Forms Map Nuget package. On Android I have to specify a Google API key. Using this for development is fine as the volume of API calls is low. If I go public and I submit to the Google Play Store and (hopefully) the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2021-01-16T13:43:35.567+00:00
Neil Jones 1 Reputation point
answered 2021-01-18T09:39:06.13+00:00
JarvanZhang 23,951 Reputation points
0 answers

Latest Xamarin Update (V16.8.0) Breaks XFGloss Nuget Package

The latest update of Xamarin.Forms seems to have broken the ability of XFGloss to set a background gradient on an iOS ContentPage. The following is the abbreviated way I create the base class for my views, which has worked fine for months: public…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2021-01-18T09:12:53.987+00:00
Easy Going Pat 1 Reputation point
1 answer

Shape Clip : geometry are lacking the aspect property

Hello, I'm playing with shape which were released few days ago (I mean, no experimental anymore). I'm trying to clip a Rectangle (later I'll clip an image once I got this working). I don't know its size until it's being rendered (horizontal and…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2021-01-15T21:57:03.357+00:00
Nicolas Krier 1 Reputation point
answered 2021-01-18T08:08:40.007+00:00
JarvanZhang 23,951 Reputation points
1 answer

How to open app from browser?

When a user try to register in my app a confirmation email is sent to him to confirm that he is the holder of the email address, when he clicks the link in the browser I want automatically open my app. I tried to use this example but receiving an…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2021-01-16T10:33:09.887+00:00
eduardk 46 Reputation points
answered 2021-01-18T08:03:53.137+00:00
JessieZhang-MSFT 7,706 Reputation points Microsoft Vendor
0 answers

Xamarin Forms, Add To Cart MVVM using API

Hi Xamarin Community, I am making a proyect that I need to add some product to cart, I am using API to get the information and to store it, but I cant make the implementation of the add to cart button, if anyone have a proyect o an example of what I need…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2021-01-15T16:10:04.093+00:00
Amasu 96 Reputation points
commented 2021-01-18T07:54:17.67+00:00
Cole Xia (Shanghai Wicresoft Co,.Ltd.) 6,751 Reputation points
1 answer One of the answers was accepted by the question author.

Binding to custom control button command

Hello, I have custom control having multiple buttons. How can i use button's command in page? e.g. <Grid BackgroundColor="WhiteSmoke"> <Button Grid.Row="0" …

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2021-01-15T09:35:30.697+00:00
Niketan 41 Reputation points
accepted 2021-01-18T07:17:36.6+00:00
Niketan 41 Reputation points
1 answer

Xamarin Shell

Hello, I am using Xamarin Shell navigation, and I change all possible resources to set my app colors, but the fly menu is still White and accept my color only if there is an item as you can see. How can I change this white color?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2021-01-16T21:45:46.087+00:00
Radoslav Atanasov 1 Reputation point
answered 2021-01-18T03:01:14.827+00:00
JarvanZhang 23,951 Reputation points
1 answer

Changing radius and border color when focused on UWP Entry custom renderer

Hello, As the title say, i'm trying to change the color of the border when the entry gets focused. However, it seems that, despite the code being called, it doesn't affect visually and the entry is always showing the same color. Also, the…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,296 questions
asked 2021-01-11T15:29:01.147+00:00
p.maravilla 21 Reputation points
commented 2021-01-18T01:44:48.473+00:00
JessieZhang-MSFT 7,706 Reputation points Microsoft Vendor