Questions tagged as 'xamarin'

1
answer

How to do a deserialize on a Json with C-sharp

I have the following code private void WbRanking_DownloadDataCompleted(object sender, DownloadDataCompletedEventArgs e) { RunOnUiThread(() => { string json = Encoding.UTF8.GetString(e.Result);...
asked by 05.10.2017 / 19:11
1
answer

How do I publish my application xamarin.forms

How do I distribute my App that I just created? Like, I'm going to the client to install a version on the smartphone of two or three people to test. What do I need to deploy to this device, my application? How do I do this? EDIT1 Fo...
asked by 20.09.2017 / 12:11
1
answer

Dynamic method to open screens

I'm 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 every time I'll compile from an...
asked by 21.09.2017 / 01:22
1
answer

Convert float, double, or single value to DateTime

I was having Cast problems when I was running a lambda and serializing to the service. Well, the solution was to pass everything to String and I did it. On the other side (Android App) I get and do what has to be done. Well, it turns out that...
asked by 05.09.2017 / 16:05
1
answer

Difficulty with listview layout in xamarin.forms

See this image Mylayoutisbroken.Youcanseethatthecustomernameis:SebastiaoLoureirodeAlmeidaandinthelistviewSebastiaoappearsandtherestofthenameappearsbelow,appearingonlythe" of the name "iceberg". My difficulty is in increasing the cell size or...
asked by 05.09.2017 / 11:47
1
answer

Setting up xamarin

I'm learning xamarin and development for mobile. I have seen several examples of how to set up a small application and I see that practically everyone starts like this: Blank App (Xamarin.Forms Portable) or in Portuguese. It turns out that when...
asked by 25.07.2017 / 22:54
1
answer

Error when starting a new project Xamarin

I recently installed Visual Studio 2017 and everything works fine. Since yesterday I try to create a new Xamarin project and I get the following message:    Error: this template attempted to load component assembly 'Xamarin.VisualStudio.Templ...
asked by 27.06.2017 / 01:44
1
answer

Gradient Xamarin Forms

I'm doing the screens of a Xamarin app with XAML, and wanted to put a gradient background is it possible? For now the code is this:                                         
asked by 16.05.2017 / 21:30
1
answer

"Something went wrong" when creating project

I created a project android xamarin - xml is as it came, I have not written any lines in anything yet, but I can not see the design:    com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was S...
asked by 18.02.2017 / 18:18
2
answers

Communication between Code Behind and ViewModel Xamarin

I have two pages created in Xamarin.forms , on the first page I have a list and on the second the details of each item selected previously. I send the selected item from the first page to the second through the communication of the two co...
asked by 06.04.2017 / 04:46