Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums

How to store the key to connect to Azure?

Hi, I want to call the Face Detection API on Azure. In order to do that I need to pass through an API Key and an endpoint. What is the best practice for this? Is it safe to include the keys in the...

View Article


After I clicked login button i want to move to Appshell

I made Login page, after i confirmed login process, it moves to Binding command to app shell page. it is working without clicked. but i want to work with clicked event with binding command., so i mean...

View Article


Image may be NSFW.
Clik here to view.

How to show all tabs in tabbed page if i have more than 4 tabs in tabbedPage...

I have 6 tabs in tabbedPage (more than 4 tabs), i want to show all of them without the "More" button how can i do it ?

View Article

Passing Checkbox value to Button click event

Hi Techie, How to Pass the check value ischecked = true|| False to button onclick method. Here is the code . Kindly check and comment it... public class Model : INotifyPropertyChanged { public event...

View Article

How can I use a config file to manage the app?

Hello everyone. I have already an app created with Xamarin.Forms. Now everything is hardcoded and wanted to abstract on a few levels the whole thing. Through a desktop application or maybe a website I...

View Article


how to implement send azure push notification to specific device in xamarin...

I have created a web and xamarin app to send notification to registered devices in azure notification hub. Web : NotificationHubClient hub =...

View Article

How to call previous page from current page using NavigationStack in Xamarin...

why i am not able to call previous page from current displaying page using NavigationStack? I have a code List<Page> li = Navigation.NavigationStack.ToList(); Page last = li.ElementAt(li.Count -...

View Article

Howto change glyph of fontimagesource via datatrigger

Hy, i want to create an Expander that shows the Expander state with an Image. The code snippet that i found works with an Image and that worked well. But i want to use fontawesome and so i use a...

View Article


How to create and populate a local SQLite db with API json data?

Maybe my question is a comum question, but I didn't find the right answered in any other place. I'm creating a Xamarin.Forms application that will consume data from an API Rest that I created in C#....

View Article


Image may be NSFW.
Clik here to view.

Tint MenuItem Icon

I would like to tint the Delete Icon, but don't really know how to do it, try to change style color but can only change the navigation icon's color, the delete icon still black like in the picture....

View Article

Background Task Running with Async/Await suggested Approach

Hi , Apologies for the same question. We are working on Xamarin Forms applcation to support mulitiple platforms ( android ,iOS & Windows Phone) . Top Priority for Android & iOS Platforms. We...

View Article

Switching Target Framework to Xamarin.Mac Full .NET Framework > 4.6.1 makes...

I need to use Xamarin.Mac Full for a nuget i need to use. But when i switch to it Xamarin.Forms.Platform.MacOS disappears with the message: The type or namespace name 'MacOS' does not exist in the...

View Article

Image may be NSFW.
Clik here to view.

the splash_screen not full screen in some android devices?

what I need is this: but what I get in some devices is I have already set the styles.xml ` @drawable/splash_screen true true @null true and the splash_screen.xml<?xml version="1.0"...

View Article


Saving files to external storage

Hello, everyone! I'm saving a backup from my app's database in SpecialFolder.Personal, it works, but I can't access the file nor move it to another directory, so I wanted to save it directly to the...

View Article

Image may be NSFW.
Clik here to view.

Spin wheel UI in Xamarin forms

Hi, There is this new client for us, who wants a spin wheel contest in the app, the spin wheel would have coupon codes and offers. Similar to a Roulette spinner as shown below. Do we have any plugins...

View Article


save picker options from collectionview to database

I created a list of attendance in xaml with 3 tables. 1. The first table is the date that I put in the picker. 2. The second table is the name of the students that I put in the collectionview along...

View Article

How to populate a listView from a seperate Context as the one where the list...

Hello, I'm a beginner with Xamarin and have stumbled upon a problem populating a ListView, namely I have a content page with its own ViewModel, and want to populate a list within this content page, but...

View Article


SocketAsyncResult.CheckIfThrowDelayedException

Hello there, I posted my application in the app store and I have 1200 uses per day but I have a problem, I get 100-200 following errors per day from my users. What is the reason of this? I have a web...

View Article

Image may be NSFW.
Clik here to view.

IValueConverter not working after update Xamarin Forms 5.0

I recently updated Xamarin Forms version to 5.0 and suddenly I found that every IValueConverter doesn't work, I don't know if it could be an update about this control exactly, but in my certain case it...

View Article

Error: unexpected element found in

Suddenly I get this build error in VS 2019 but not in VS 2017 when I build my Android project:unexpected element <receiver> found in <manifest> And this is what those lines look like:...

View Article

Any documentations or tutorials on how to use the Play Install Referrer...

I have an app in the Play Store, and have been advertising using Google. I'm tracking first_open in firebase but don't see from which Ad the app is installed from. From my research, the Play Store has...

View Article


Image may be NSFW.
Clik here to view.

How can I change cell value after binding in SfDataGrid? (similar as...

Dear, Sir or Madam, I am developing Xamarin Android app with Syncfusion controls. I got data from Ms-sql procedure then bound data in SfDataGrid. (Itemsource) I would like to modify display text after...

View Article


Image may be NSFW.
Clik here to view.

NuGet Package not compatible

Hey Guys I ve got a problem and do not really have an answer to this so I hope you can help me. I want to install the NuGet Package Xamarin.Firebase.Auth but get an Error: At the Moment I am using .net...

View Article

How to open Front Camera?

Hi - how can i open the front camera using Xamarin Forms? I've got the following code which seems to default to the rear camera. I'd need to restrict it to the front camera only var requestPermission =...

View Article

how to use expander ? I have follow as per docs but getting exception

This is the exception while adding expander even i have added Forms.SetFlags("Expander_Experimental") .The error below as follows "The class, property, or method you are attempting to use ('Expander')...

View Article


Integrating moving common background image for carousel page

I'm trying to integrate a common wide background image for Xamarin Forms Carousel page. As the requirement I need to smoothly change the visible part of the image according to changes of child pages...

View Article

Image may be NSFW.
Clik here to view.

FontsAwesome Samsung S20

Hi, I have problem with fontsAwesome on some device? Anyone has an idea how to solve this? For now, it seems not to work on this specific device.' This is my usage of fonts in code: and here I have my...

View Article

Is multi-directional scrolling with fixed scrollbars possible?

Hi everyone, I need your help for the following one: I need a view, where I can scroll vertically and horizontally and always see both scrollbars! With the current ScrollView it's possible to scroll in...

View Article

Xamarin Android Project debugging

I am trying to debug and run a xamarin app Android project on my connected android mobile device. Project is deployed successfully but neither it runs in debug mode nor i am able to see app icon in...

View Article



Disable SwipeView sliding option

Hi, I'm using SwipeView in my project to show and hide the side menu on left of the page. Now I want to to open and hide the menu by tapping on button and not by sliding the page. So far I figure out...

View Article

Retrieving data with synchronous method via web service

My Xamarin forms project includes android and ios projects and web service integration. I bring 1000 items from the web service through the web service I add to Android and ios projects and add them to...

View Article

Image may be NSFW.
Clik here to view.

CrossPermissions not working in the APP

Hi All, I am using Xam.Plugin.Permissions to give the permission for accessing the contacts in APP. In the screenshot when I am tapping on Allow then the App hangs. here is the code contacts = new...

View Article

What are Scale, ScaleX and ScaleY supposed to do?

I apply ScaleY to a ProgressBar to make it taller. However, I find that it then goes behind the Views that I would expect to be above it and below it, rather than doing a layout cycle that results in...

View Article


How trigger the DateSelected event of DatePicker only if the user tap on...

Hello, How trigger the DateSelected event of DatePicker only if the user tap on "Done" on iOS? Currently the event is triggered if you change the year, month or date Best regards.

View Article

Xamarin Forms build failed after updating VS from 16.8.3 to 16.8.5

I knew that updating Vs will cause me trouble but I still managed to get the latest update and now I facing a problem with xamarin forms. My project can't build and if I create a new project it cant...

View Article

Peer-to-peer communication between Xamarin.Forms apps

With users typically having both a smartphone and a tablet, and now even having wearables, I am curious about which technologies can be used to have Xamarin.Forms apps on these different devices (iOS,...

View Article


Collection View Infinite Scrolling

Hello everyone. How i use collection view with infinite scrolling

View Article


How to implement infinite scrolling in collection view ?

How to implement infinite scrolling in collection view ? I founded a link on this "https://doumer.me/infinite-scroll-with-the-xamarin-forms-collection-view/" , But did not succeeded. I want have some...

View Article

Change Fontsize on NSAttributedString

I have a requirment to use a custom renderer to set an Editor to some rtf text. This all works fine. However, what I am not getting at is how to set or change the font size of this NSAttributedString....

View Article

Image may be NSFW.
Clik here to view.

Need insert PIN code to access (view) settings page?

Hello, I have simple wearable app and button to push navigate to new setting page. On my settings page I have other buttons and stuff. Simply I need somehow after clicking setting button -> show...

View Article


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