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

Example to integrate firestore in Xamarin.Forms Andriod/IOS?

So, im trying to implement this libraries inside my project: Firestore Android: https://www.nuget.org/packages/Xamarin.Firebase.Firestore/60.1142.0-beta2 Firestore IOS:...

View Article


Android debug version runs yet release crashes

I am working on a Xamarin Forms app for Android and iOS phones. I am trying to get a release version over to QA. The release compiles with no errors. Running the app the splash screen displays and then...

View Article


System.Reflection.TargetInvocationException on MessagingCenter.Send

I'm trying to build simple navigation using MessagingCenter but I'm receiving System.Reflection.TargetInvocationException when I pressed the back button (hardware button). Here is how I get the error;...

View Article

Need a Good Example of Saving to Android External Data Using Xamarin.Forms

There are a couple good write ups on the the MS Xamarin site on using Internal and External data on Xamarin.Android. https://docs.microsoft.com/en-us/xamarin/android/platform/files/...

View Article

xamarin forms: InvalidRegistration error in postman when try to send...

I am implementing push notifications using FCM in my Xamarin.Forms project. In the iOS project, I am getting the fcmtoken from RegisteredForRemoteNotifications. When I am sending a notification for the...

View Article


display PDF in webview not working Xamarin forms

i am trying to display a hosted IMAGE from a secure web api it working <WebView HorizontalOptions="FillAndExpand" Source="*://192.168.137.1:3581/Uploads/04-02_1.jpg" VerticalOptions="FillAndExpand"...

View Article

ListView with Entries - Selected Entry Loses Focus when Keyboard Opens

I have a ListView with an ItemTemplate & ViewCell defined in the xaml. My ViewCell contains a grid that has numerous Entry controls. When an Entry is clicked it gains focus, causing the keyboard to...

View Article

Why Sqlite's database file is different ,when I use EF core to connect or...

Hi, I recently found a strange situation,as title. If I connect Sqlite by Entity Framework Core, just like: public class DatabaseContext : DbContext { protected string _databasePath =...

View Article


Xamarin Forms 4.0 + MSAL: cannot resolve reference Microsoft.Identity.Client...

Hello guys. I'm trying to add MSAL.NET to a Xamarin Forms App but after adding a reference to the Microsoft.Identity.Client to both the Xamarin Forms and Xamarin Android project, I'm getting the...

View Article


How to get the jks for the lost keystore?

Hi, I have a Xamarin Forms app and I lost my ketstore file Now Google is asking me to follow below steps to recover the keystore but the first command is asking for the jks file Where can I get that...

View Article

I get a KeyNotFoundException and don't know how to debug

Hi, in my previous question a workaround for my problem is to have a grouped ListView. So I changed my app's code from nested to grouped ListViews. Now I get the following KeyNotFoundException:...

View Article

local images to bytes

I want to convert local images which are there in project platform wise to bytes. If I am doing this think byte[] buff = System.IO.File.ReadAllBytes("Sample.png"); I am getting error of file not found...

View Article

How to join two tables using LINQ xamarin.forms

i am using xamarin forms with ORM EF i want to show data from product and salesOrderItems tables in datagridView. my problem that the grid is empty.here my code. public SalesOrderDetailsVM(int...

View Article


Is there any way to cluster pins in a Xamarin.Forms.Map?

Hello, I've been recently trying to implement pin clustering in my Xamarin.Forms application. However, I couldn't find any solution. Is it not possible?

View Article

How to fix White Screen Issue while navigating in Xamarin forms Prism...

I have implemented MasterDetail Page using xamarin forms prism and I have following Pages in my app. 1) Master 2) Home 3) Employee 4) Profile -- Initially App is set to Master - Home (Detail Page) page...

View Article


Network Connection

Hi Xamarin Forum may I ask how to check network connection every 5 seconds? I tried the guide written in Stack Overflow...

View Article

Build errors after Visual Studio for Mac update

After upgrading to the latest version of VS Community for Mac, my project no longer compiled. Also, I uninstalled and installed VS 2019, which also doesn't work. I get the following build error: The...

View Article


What is the equivalent of xaml "{Binding .}" in code behind?

What is the equivalent of xaml Text="{Binding .}" in code behind?

View Article

Tap and pinch gestures conflict

I have a page that has a grid that contains a dynamic number of controls within it and each control has it's own tap event. I need to be able to pinch on this grid to add or remove columns. On iOS this...

View Article

How to use SelectionChangedCommand

I trying to get data from CollectionView to ViewModel when activeItem has changed. I try to bind ICommand on SelectionChangedCommand="{Binding Swipe}" but on swipe I don't get data from CollectionView....

View Article
Browsing all 89864 articles
Browse latest View live


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