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
-
0
votes1
answer49
viewsHow to use Segmented Controls in Xamarin Forms
Galley, A help, I need to use a type of Segmented Controls in my Xamarin Forms. However, it does not exist. I saw that to use Native by platform, but found no example or documentation guide to it.…
-
0
votes1
answer792
viewsSet Image to Button inside Listview Xamarin Forms
How to set another image for a Button that is inside a ListView by . Cs or in ViewModel ? I can’t access that Button no . Cs for being inside the ListView. In my Xaml, the button already has an…
-
0
votes1
answer136
viewsBurger menu hiding when calling a new view Xamarin Forms
I have a View which is being called through a button of the MenuItem. But within those View contains another button that calls a new button View. This new View opens off the burger menu, ie it hides…
-
0
votes1
answer116
viewsDynamic method for opening screens
I am creating a method to open any screen I pass in the parameter. I did this method: public async Task NavigateTo(Page page) { await App.MasterDetail.Detail.Navigation.PushAsync(new page()); } But…
-
0
votes1
answer327
viewsProblems accessing a web api in a Xamarin Forms project
On my first screen of mine app mobile what I’m doing is the screen of Login, but whenever I try to log the return is Statuscode: 404, Reasonphrase: 'Not Found' I have confirmed and the uri is…
-
0
votes1
answer211
viewsHow to use Android.Hardware.Camera2 in Xamarin
I’m having a little trouble figuring out how to use it Android.Hardware.Camera2; how the Opencamera() method works and what you enter as a parameter in Availabilitycallback. Can someone help me? if…
-
0
votes1
answer380
viewsProblems in Master Detail navigation in Xamarin Forms
I’m having problems understanding how the Master Detail type navigation works in Xamarin Forms, let’s go to my code as it is now: 1- I created a interface for navigation: using…
-
0
votes0
answers25
viewsXaml parameterless constructor
Well, I have a problem that I cannot solve, when I go to a preview of what I did in "XAML", I always come across this error.…
-
0
votes2
answers565
viewsSelect in Xamarin Forms, how would it be?
I am creating a contact form in Xamarin, and should have an option for the user to select the desired purpose, ie in html would exist a tag select with all the option, so what tags are used to…
-
0
votes1
answer102
viewsXamarin Forms with Azure
I am creating an application with integration with Azure, when I try to instantiate the MobileServiceClient I have the following exception Method…
xamarin xamarin.android xamarin-forms xamarin.portableasked 7 years, 8 months ago Pablo Tondolo de Vargas 5,444 -
0
votes0
answers208
viewsListview Databind Xamarin Forms
I’m creating an app with Xamarin Forms. The app has a student profile screen where I need to display the Model phone list. It turns out that when I do listview Binding, all the other form bindings…
-
0
votes2
answers203
viewsCommunication between Code Behind and Viewmodel Xamarin
I have two pages created on Xamarin.forms, on the first page I have a list and on the second I have the details of each item selected previously. I send the selected item from the first page to the…
-
0
votes1
answer124
viewsXamarin.Forms Ios Webviewrenderer sharing Cookies
I am using a Webviewrenderer to configure the cookie policy and also to share cookies from an Httpclient login request. Turns out no matter how much I set: var cookieJar =…
-
0
votes2
answers186
viewsPage orientation in the Xamarin
I’m starting to program using Xamarin Forms, I created a registration screen, but when I change the orientation of the screen to horizontal it does not activate the scroll and the buttons are…
-
0
votes0
answers153
viewsException when accessing web service in Xamarin.Forms application
I’m creating an application with Xamarin with Visual Studio 2017. I did all the tests on the web service and it accesses the database and records everything perfectly in the browser version. I have…
-
0
votes1
answer168
viewsXamarin Method 'Plugin.Geolocator.Abstractions.IGeolocator.Getpositionasync' not found
You’re making a mistake for me: "Method 'Plugin.Geolocator.Abstractions.IGeolocator.Getpositionasync' not found" In IOS version is working well, but on Android could someone give me a hint? It’s my…
-
0
votes1
answer895
viewsApplication opens and closes
After I updated my phone (ASUS Zenfone 3) for Android My apps open and close when I try to debug... I can only debug if I delete the app from my phone and compile again, does anyone know how to fix…
-
0
votes0
answers227
viewsXamarin - "Problem rendering this Document"
When I try to create a new layout it doesn’t display and sends this message to me, and I didn’t even edit anything, I just created a new layout from scratch.…
visual-studio xamarin xamarin-forms xamarin.android visual-studio-2017asked 6 years, 7 months ago sdnaves 1 -
0
votes0
answers558
viewsXamarin Forms - Select and display Images
I am developing an application in Xamarin Forms and I am in need of a functionality in which the user can choose an image from the gallery and that this image can be displayed in an Image control in…
-
0
votes1
answer633
viewshow to read a result Json from google Directions API
I’m getting this json from google Directions API https://maps.googleapis.com/maps/apidirections/json?origin=-22.8895625,-47.0714089&Destination=-22.892376,-47.027553&key= I need to read it…
-
0
votes1
answer46
viewsLocation of the Photo in Xamarin Multiplatform
Guys, I’m developing an application in Xamarin Mutiplataforma that takes photos and then should recover these photos taken and send to a Webservice. Would you like to know how to recover the photo…
-
0
votes1
answer798
viewsDifficulty with listview layout on Xamarin.Forms
See this image My layout is broken. See that the client name is: Sebastiao Loureiro de Almeida and in the listview appears Sebastiao and it is noticed that the rest of the name gets further down,…
-
0
votes0
answers60
viewsError of: Unauthorized Error
I downloaded a project to test sending push notification. I am trying in various ways and without success. This project is from a guy named Habibali. When I spin it gives the error of Unauthorized…
-
0
votes1
answer57
viewsListview click by constructor call but not by button
I have a listview in my app and created in my Viewmodel a method Carregarlistview(); When I call it by the constructor of my Viewmodel, an Observablecollection list is loaded and Binding is given in…
-
0
votes1
answer370
viewsUpdate Page after Popasync in Xamarinforms
I have a page with the expense list contains travel information like Description gross value, expenses and net total and even a list with my travel expenses. The problem is that when I will edit or…
-
0
votes0
answers228
viewsProblem with APK Size generated by Visual Studio
I’m using the latest version of Visual Studio Community 2017, and when I get the apk, the same is getting the size 90 mega. I have already made several modifications and I did not get results. It is…
xamarin xamarin-forms xamarin.android apk visual-studio-2017asked 7 years, 1 month ago João Paulo 81 -
0
votes1
answer56
viewsHow to Save Simple Application Locations Data?
I need to save simple settings information, only for when the plicative loads it recover some variables. Is there any way to do this without resorting to SQL?? Ex: in windows programs I usually save…
-
0
votes1
answer965
viewsThe $(Targetframeworkversion) is Less than the minimum required for Xamarin.Forms (8.1)
The following error is occurring when compiling an app: The $(TargetFrameworkVersion) for Representantes.Android (v8.0) is less than the minimum required $(TargetFrameworkVersion) for Xamarin.Forms…
-
0
votes0
answers61
viewsRedirect after login to Xamarin Forms
I am creating an APP with Xamarin Forms, and after logging in with the login and password I receive the API data, I see that the login was successfully executed because I use the console.write to…
-
0
votes1
answer214
viewsXamarin Forms MVVM Binding Listview
I want to create a list of users, however, I am not able to perform Binding, the data is not displayed. If the Follows my structure: Listusuarios.xaml: <?xml version="1.0" encoding="utf-8" ?>…
-
0
votes1
answer254
viewsImages disappearing from my application using Xamarin Forms
I made an application using Xamarin Forms Cross Platform, at first I only need the android version of it so I don’t care about IOS and Windows. The app is working properly when I test it on one of…
-
0
votes2
answers63
viewsHow to center 02 Textview of Videoview
I have 02 Textview and I want to put them in the center of a Videoview where a text is on top of each other. <?xml version="1.0" encoding="utf-8"?> <LinearLayout…
-
0
votes1
answer73
viewsHow to access in Viewmodel, a Listview q is in a View?
So I have a page called Filmeview on it I have: <ListView BackgroundColor="WhiteSmoke" SeparatorColor="Blue" x:Name="listaFilme"> and I have a Viewmodel class: FilmeService filmeService = new…
-
0
votes1
answer23
viewsProblem with Sqlite.Net.Interop
I am trying to use the Sqlite.Net.Interop namespace to use the Isqliteplatform class but the package "Sqlite.Net PCL" is as discontinued. I wonder if you have any alternative to solve this problem.…
-
0
votes0
answers17
viewsHow to import Mysql data in Xamarin Forms application?
Good morning! I have a dilemma here. I need to import data from a hosted Mysql database to my application in Xamarin.Forms and use it locally in Sqlite. Thus, the user would import the data from the…
-
0
votes0
answers12
viewsHow to insert text box over image.Svg in Xamarin. Forms?
I have an extension file SVG, which I will use as a structure for my layout, I was able to display the image using the extension Ffimageloading.Svg.Forms, I would like to insert on this image fields…
-
0
votes1
answer102
viewsweb api, how to do this login correctly?
I am developing an application that is a short version of a web system, this system was developed in PHP. For the application, I am developing in Xamarin Forms, however via web api I am trying to…
-
0
votes0
answers38
viewsHow to use Bidingcontext to link Views to a Dictionary?
My Xamarin application has as one of its features, creating forms based on an object. I have been having trouble saving the data from this form. I have to go through the children of Stacklayout to…
-
0
votes1
answer2848
viewsHow to resolve System.Reflection.Targetinvocationexception: Exception?
My application (using Xamarin Forms) was working everything ok, more than anything when I click the login button it is being stopped triggering the following error:…
-
0
votes1
answer62
viewsXamarin Android WCF to after enter more than 10 times
I have an app on Xamarin android that consumes a wcf service, when I instate the service more than 10 times the service falls and you need to restart it and when it will restart the bar you need to…
-
0
votes0
answers42
viewsPick up Selected line in Datagrid Xamarin
I am developing an application in Xamarin-Forms using the MVVM standard and I have the following difficulty. On one of my screens I’m using a Datagrid to display some information separated by rows…
xamarin visual-studio-2015 xamarin-formsasked 6 years, 8 months ago Wagner Barbosa Do Nascimento 43 -
0
votes1
answer151
viewsLogin Screen Error - Xamarin Forms Visual Studio 2017 Android
I’m having a hard time finding the content of the Element Entry and compare to the value being stored in the BD Sqlite. Follow the code of my class Usuarios: public class Usuarios { [PrimaryKey,…
-
0
votes0
answers47
viewsAccess javascript file locally in Xamarin Forms
I have a question about how to access a file . js in my application mobile(Andriod)using Xamarin Forms,as below : var htmlSource = new HtmlWebViewSource(); htmlSource.Html = @"<html>…
xamarin-formsasked 6 years, 6 months ago Robson Oliveira 155 -
0
votes1
answer220
viewsHow to declare and pass a decimal variable from XAML to C#?
<StackLayout> <Label Text="Digite um Valor:" Margin="10" HorizontalOptions="Start" VerticalOptions="Start"/> <Entry Keyboard="Numeric"/> …
-
0
votes1
answer117
viewsView List of Objects in a Listview - Xamarin.Forms
The doubt is the following, I want to display a list of objects in my View using a Listview. Currently the code is like this: <ListView x:Name="listaDestinos" ItemsSource="{Binding…
xamarin-formsasked 6 years, 5 months ago Q.Wesley 405 -
0
votes0
answers38
viewsHow to cache a json Xamarin IOS request
I’d like to know how to do cache of a request Httpclient whose return is a json and determine the amount of storage days of that cache. public async Task<List<Categoria>>…
-
0
votes1
answer744
viewsChange the Application name in Xamarin Forms - Problem
I am trying to change the name of my application created in Xamarin Forms, but I can’t. I have already found these two links that explain how to do this: App name does not appear in emulator equal…
xamarin-formsasked 6 years, 4 months ago Q.Wesley 405 -
0
votes1
answer41
viewsLocal search with detail for each typed letter - Xamarin Forms
With each typed letter appears a white ball in the middle of the app (by the way is updating the list), I wish I could not have this. The mistake: The code: //Pesquisa localmente a cada letra…
-
0
votes1
answer84
viewsTwo Touches on Listview - Xamarim Forms
It is possible to have ONE touch for a certain function (today I have to select an item using ItemTapped) AND TWO TOUCHES OF THE SAME ListView to do another function? I did not get this information…
-
0
votes1
answer447
viewsSide Menu - Xamarin Forms
I am creating a project in Xamarin.Forms who implements a side menu (Master/Detail). So far I managed to display the menu correctly and list some items in it, the idea is to click on one of these…
xamarin-formsasked 6 years, 4 months ago Q.Wesley 405