Most voted "xamarin-forms" questions
Xamarin.Forms is a cross-platform UI toolkit that allows developers to easily create native user interface layouts that can be shared between Android, iOS and Windows Phone.
Learn more…236 questions
Sort by count of
-
9
votes0
answers152
viewsError: Valuefactory tried to access the Value property of this instance
Every time I create any project Xamarin in the Visual Studio 2017 the following error is displayed when running the application: Erro: ValueFactory tentou acessar a propriedade Value dessa…
-
8
votes1
answer790
viewsXAML without previewer or designer - Visual Studio
I’m using Visual Studio 2015 Community with Xamarin, and I realized that when editing XAML in designer mode (Shift + F7) I can’t see the preview of it, because another window opens with the same…
-
7
votes1
answer1248
viewsWhat is Microsoft’s MAUI?
I read that Microsoft’s MAUI is an evolution of Xamarin.Forms. I would like to know: What changes from the old version to this? What platforms are supported? How the migration between Xamarin.Forms…
-
6
votes1
answer113
viewsXamarin Forms await is not respected
Good night, someone can tell me why the code below does not respect Wait, in debug the exit order is 1. init save 2. End Save 3. New header ID: 1 instead of: 1. init save 2. New header ID: 1 3. End…
-
5
votes1
answer168
viewsIs it normal for APK made in Xamarin Forms, even empty, to be 60mb?
I have tried turning on the Linker, and be the recommended procedures. I wondered if it is normal an apk made using Xamarin.Forms start from 60mb. And if not, what to do to reduce the size.
-
5
votes1
answer254
viewsRetrieve item from a picker
I have a project in Xamarin Forms and I want to recover a selected item from a Picker. Picker is being fed by a list of Objects in its "Itemsource" property and I am showing the values of that list…
xamarin-formsasked 6 years, 6 months ago Q.Wesley 405 -
4
votes1
answer277
viewsFormatting chart values using Syncfusion for Xamarin Forms
I’m using the Syncfusion to create graphics in Xamarin Forms. Studying the documentation, I could not find a way to format the values of my chart, example: I want these values formatted for…
-
4
votes2
answers419
viewsGlobal variables Xamarin
Is it possible for me to create modules to add global variables in Xamarin? how I could create variables that can be accessed from anywhere?
-
3
votes1
answer615
viewsError creating Xamarin cross Plataform project in Visual Studio. "The project requires a Platform SDK (UAP, version=10.0.10.586.0)"
When trying to create a project Cross Platform App with the template Master Detail I get this mistake: The SDK he claims to be absent is installed. I’ve reinstalled it several times. When I try to…
-
3
votes2
answers802
viewsCommand button does not work within Listview Xamarin Forms MVVM
I’m trying to create a button with the event Command within a Listview on MVVM, but is not falling in the event ViewModel. How do I get this button Command access your method on ViewModel ? And…
-
3
votes2
answers582
viewsNavigation with Xamarin Forms standard MVVM
I recently started studying Xamarin Forms. I have a question that can be clarified here: how to navigate between pages using MVVM? Navigation should be on vm or in the view? Example <?xml…
-
3
votes1
answer1151
viewsError: Your project is not referencing the "Monoandroid,Version=V8.1" framework
After having upgraded Visual Studio to version 15.7.1 the following message started to appear in my ready-made projects: Your project is not referencing the "Monoandroid,Version=V8.1" framework. Add…
-
3
votes2
answers719
viewsHow to organize this Layout using Xamarin Forms?
I haven’t been able to organize my layout in my Listview, it gets disorganized, I’ve tried several ways but so far nothing, I would like to have tips/help. I wish I could have the Código at first,…
-
3
votes1
answer248
viewsSize of a very large Xamarin Forms application
Recently created an application using Xamarin.Forms, but after the release it was with a size of 15MB. My app has a total of 8 pages (views) among which only two use images and speaking in images…
-
2
votes1
answer1089
viewsSave image in Xamarin Forms
How to save the image from BD in any existing folder in the project ? I need to create a new folder or save the image to any folder inside the app in order to use it in one View. My code: byte[]…
-
2
votes2
answers766
viewsWhat is the difference between the versions of Xamarin?
What is the difference between versions Xamarin.Forms, Xamarin.iOS and Xamarin.Android?
terminology xamarin xamarin.android xamarin-forms xamarin.iosasked 7 years, 9 months ago Marco Souza 12,304 -
2
votes1
answer649
viewsShould I always use Navigation.Popasync()?
I am starting learning using Xamarin Forms. In my case, I am doing some tests with an application for Android. Running a parallel with Windows Phone, when I navigate from a page A to page B, and…
-
2
votes1
answer2305
viewsPass and grab the Commandparameter from a Xamarin Forms button
How to pass a value that is in one Binding for CommandParameter of a button that is inside a ListView to the ViewModel ? The button is accessing the Command but I don’t know if this is how the…
-
2
votes4
answers1341
viewsUpdate Listview after return with Popasync in Xamarin Forms
How to update the ListView after returning to the View using the PopAsync ? I need the ListView load items from it after the Address Insertion View saves a new address. OBS: The PushAsync or…
-
2
votes0
answers437
viewsChange the background color of a selected item in a menu listview in a Master Detail Page with Xamarin.Forms
When I select an item from the menu, it gets a default background color from Xamarin, but I would like to change that color. I’m using a Masterdetailpage in Xamarin.Forms…
-
2
votes0
answers62
viewsTransfer Information from One View to Another
Good afternoon! I came across a question, I am developing a project Xamarin Forms Shared, using MVVM standard, in a certain View Model1 linked to View1, when performing a search and existing the…
-
2
votes1
answer5075
viewsI need a movie API that returns Json
Gentlemen all good? Someone has a movie API that returns json if possible with the movie photo? I’m doing some examples of app with Xamarin but the api it uses in the example n works more..…
-
2
votes1
answer227
viewsLogin with facebook in Xamarin Forms with Azure Mobile Apps
I’m building an app (with Xamarin.Forms Pcl), where I have a login with facebook, using the Azure Mobile Client SDK. It is possible to perform the authentication, however, right after the…
-
2
votes0
answers82
viewsDoes Xamarin Forms dependency service not work with Generics?
I need to generate an instance of a generic class with Xamarim Forms using dependcy service (or a DI framework). With the code below I can generate an instance without problems: Interface namespace…
-
2
votes1
answer534
viewsIs SQL Express free?
I need a database to use on a Xamarin Forms app for college. I even created in Azure, but the limitation of 32 MB is very large, because I need to store photos too. I searched and saw that has the…
database sql-server xamarin xamarin-forms sql-server-expressasked 6 years, 7 months ago Lucas F. 65 -
2
votes1
answer338
viewsAn unhandled Exception occured. I cannot understand this message, no detail comes
Personal that message: An unhandled Exception occured. It always happens when I try to consume my service REST. I first made an example, copying from Macoratti and it worked. Then I adapted it to my…
-
2
votes1
answer1293
viewsDelete database when uninstall app
In my app I create the database done in Sqlite in the folder: System.Environment.Specialfolder.Personal But on some devices (Android) when uninstalling the app it seems that the database continues…
-
2
votes1
answer84
viewsWhen registering my class, it turns on the Onappearing method
I have been trying to notify with Xamarin and Xam.Plugin.Pushnotification. The problem is when I register the plugin. It does not work at the time when the method Up-to-date() is called. In reality…
-
2
votes0
answers330
viewsPayment Methods Xamarin Form
I’m currently researching how to integrate payment methods into an app made in Xamarin-Forms, but so far I haven’t had much success in my searches, most mobile payment integration services like…
-
2
votes2
answers40
viewsBack version of the application
Is it possible to return the app version? We initially put in the field Version Number the number 2 just to see how it would look and after that we are not being able to return to the numbering we…
-
2
votes2
answers246
viewsGet "Version Name" [Xamarin.Forms]
I have a screen About and I wish I could take the Version Name, how to do this?…
-
2
votes0
answers45
viewsListview component is only displayed from half down the screen
The question is this:: I have a Listview, within a "Contentview", it is properly populated and the template applied as expected. I’m inside a navigation "Master-Detail" and in this case, the…
xamarin-formsasked 7 years, 1 month ago Tito Barros Jr 21 -
2
votes1
answer287
viewsSet Top Bar Burger Menu
I made an app with a Login screen to a Mainview that is a Masterdetail and a Detail. It is working correctly but the top screen is larger than normal, as per image; as I set it to be the correct…
-
2
votes1
answer153
viewsEnable navigationbar or create a panel on top of the Xamarin.form tabpage
I have this page (Tabbedpage) that creates two tabs: <?xml version="1.0" encoding="utf-8" ?> <TabbedPage xmlns="http://xamarin.com/schemas/2014/forms"…
-
2
votes1
answer865
viewsChanging the bar color of a Navigation page
I have it: public void Login_Clicked(object sender, EventArgs e) { LoginService svc = new LoginService(); LoginRS res = svc.Login(txtUsuario.Text, txtSenha.Text); if (res != null &&…
-
2
votes1
answer322
viewsTitle in Masterdetail - Xamarin Forms
I need to have title "Main Screen" in a Masterdetail that I have, is possible? <?xml version="1.0" encoding="utf-8" ?> <MasterDetailPage xmlns="http://xamarin.com/schemas/2014/forms"…
-
2
votes1
answer97
viewsTask List<T> showing Xamarin error
I am creating a Task List<> but the same shows error in 'Tmodel' Error shown: "Tmodel" type or namespace name cannot be found (using a directive or Assembly reference?) public async…
-
2
votes1
answer293
viewsUsing Grid with Absolutelayout - Xamarin Forms
I need to use it on a screen Grid(to organize the Entry and Buttons) and AbsoluteLayout(to have the waiting ball (or Loading) in the middle of the screen). If this is done the screen layout is…
-
2
votes1
answer261
viewsBlock Form Button - Xamarin
I would like to know how to block an action button in Xamarin.Forms if certain variables are not filled in. Follow the code I have in my Viewmodel: //This is the builder of my Viewmodel public…
xamarin-formsasked 6 years, 6 months ago Q.Wesley 405 -
2
votes1
answer64
viewsProblem with custom control
I created a custom search bar with an entry. I need to get the text of this entry to be a search parameter. So I created a custom property that uses the Text property from entry. But this custom…
-
2
votes1
answer847
viewsFailed to archive Xamarin.Forms project
Next, I am finishing my project and as last step I am trying to "archive" my android project, however while trying to archive it generates the following error: Erro Falha inesperada da tarefa…
xamarin-formsasked 6 years, 5 months ago Q.Wesley 405 -
2
votes0
answers152
viewsHow to change background color and icon color in an image
I’m developing a small app using Xamarin Forms Cross Platform (Android and iOS). I need to control the background color and the icon of the images, as shown in the example below. I tried some…
xamarin-formsasked 6 years, 5 months ago Washington Morais 408 -
2
votes3
answers148
viewsHow do I know if an Itemtapped has been clicked?
I have a ListView with a function so that every 30 seconds ListView be updated. When it is triggered click on an item of mine ListView another screen at that time is called and unfortunately the…
-
2
votes1
answer165
viewsHow to show / hide a button inside a listview
Man ListView is populated with data that comes from an API, but within my template I have a label statusDescr where it shows two states ("paid" / "canceled") when the status on the label is paid the…
-
2
votes1
answer412
viewsWhat does it mean to say that, an app is Webview? What is the relationship with Xamarin?
Starting studies on a Xamarin project, I found a number of nomenclatures and some explanations that seem contradictory, so I have some doubts: I heard that Xamarin and Xamarin.Forms, NAY are…
-
1
votes1
answer125
viewsSketch Component for Xamarin Forms
I wonder if there is a component for Xamarin Forms that allows me to draw in a photo taken by the device or that is in the gallery. Below are examples of how it would be:…
-
1
votes1
answer101
viewsXamarin.Forms configuration
Good morning! I’m trying to build an application Xamarin Forms in a windows 8.1 When I installed the xamarin and try to start a project, he asks me to add a MAC. Is it necessary to add it? and if it…
-
1
votes2
answers560
viewsXamarin.Forms Relative Layout Xaml
I’m trying to create a screen that has an image at the end of the screen and above it is the login buttons, like this one: with the yellow rectangle below and the buttons above it. but I can’t do…
-
1
votes2
answers403
viewsHow to include a new right icon in an Activity Xamarin Forms
It is possible to include a new icon in a activity but the right, without changing the existing ? I need to include the user photo on the right. (Red spot on image) Imagery:…
-
1
votes1
answer119
viewsHow to convert string to Fileimagesource(Icon) Xamarin Forms
How to convert a string(Image) to FileImageSource(Icon) ? I need to display a photo on ToolbarItems in the right corner of the hamburger menu. I tried that way, but it didn’t work. My code:…