Questions tagged as 'xamarin'

1
answer

How to resolve System.Reflection.TargetInvocationException: Exception? [closed]

My application (using Xamarin Forms) was working ok, most of all when I click the login button it is being interrupted by launching the following error:    System.Reflection.TargetInvocationException: Exception has been thrown by the target o...
asked by 16.02.2018 / 16:20
1
answer

Xamarin Visual Studio

I installed Visual Studio with Xamarin, Android SDK, etc. When I compile the project it opens the Android AVD, but the Android System does not load, there is only one black screen.     
asked by 11.04.2017 / 15:07
1
answer

Extension method (Wait () and Status ()) does not work

This is not working (only the Wait () and Status () lines) try { string url = $"http://localhost:2710/api/faturamento/{IdUsuario}/{IdGaragem}"; var uri = string.Format(url); var respo...
asked by 09.01.2018 / 17:07
2
answers

Creating and Consuming a REST API

Good morning, I'm trying to create an API, to do a user validation and password, to use in xamarin. But I am in doubt, if I want to fetch a user x and a password x in the database should I pass all users and passwords to a site or is there any w...
asked by 04.10.2018 / 19:26
1
answer

Xamarin ObservableCollection

Hello I'm using Xamarin and when I want to load and display a list of objects on the screen I use ObservableCollection to make the page load only after the content is loaded. But in one of the WebService returns I get only one string....
asked by 04.05.2018 / 15:54
1
answer

Message on Exit Button - Xamarin Forms

I need a message on the Exit Button (I will use Navigation.PopAsync() ) next to what I did but it works (it does not work): //Botão Sair void BtnSair_Clicked(object sender, EventArgs e) { var result = DisplayAlert("Alerta", "Deseja re...
asked by 25.05.2018 / 16:10
1
answer

External connection to sql server by android application, C # xamarim [closed]

Well I'm looking for information about what procedure to access a sql server database by android.     
asked by 28.07.2018 / 15:44
1
answer

Button does not appear in App

I made a button, listview. The listview is working because I started it, but how do I do it with the button? Below my code: protected override async void OnAppearing() { base.OnAppearing(); //Task.Run(async ()...
asked by 14.09.2017 / 13:21
2
answers

Does not appear in the list after registration

I'm doing a Xamarin course and packed the following item: I have two view, one to record a description of a food and a calorie value of this food. In the other view appears the registered food, or rather should appear.    HomeTabbedPag...
asked by 28.01.2017 / 03:00
1
answer

Load image dynamically on a grid?

I have this xaml: <StackLayout Spacing="10" Padding="10" VerticalOptions="Center" Grid.Row="3" Grid.Column="1" > <Image x:Name="MyImage" Source="{local:ImageResource Operacional.Images.images1.png}" > <Image.GestureRe...
asked by 31.01.2018 / 13:45