Questions tagged as 'xamarin'

1
answer

Xamarin.Android error "PresentationFramework"

I have this error in my project Xamarin.android Severity Code Description Project File Line Suppression State Error Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'PresentationFramework, Version...
asked by 26.07.2017 / 20:38
2
answers

ScrollView does not scroll on screen 320x240

I have a xaml page with a ScrollView and a ListView that work normally on popular smartphones. The problem is that the scroll bar does not work on the Samsung Pocket Duos device, which has a screen of 320x240 and 2.8 ". Since many people still u...
asked by 07.06.2017 / 13:30
1
answer

Delete listview item in Xamarin [closed]

How do I delete an item from my listview? I delete the item, but when I click on the next item the same item that I deleted was selected. My code: adapter.Remove("LISTA 1"); adapter.Remove("LISTA 2"); adapter.Remove("LISTA 3"); adapter.Remo...
asked by 02.05.2017 / 13:35
1
answer

Change color of Listview item in xamarin according to bank data

I need to change the color of the listview item according to the data that comes from the database, I have a visited field that is receiving a "*" would like to change the color of the person that has already been visited. I'm bringing the se...
asked by 02.05.2017 / 15:59
1
answer

Xamarin Emulator works, but after upgrading to VS 2017 the application is copilated but appears as blank

I use the xamarin android player to do the simulations and test my apps but after I upgraded to Visual Studio 2017 the emulator works partially, I make the design in main.AXML and build & deploy it works normally, but in the em...
asked by 20.03.2017 / 16:24
1
answer

How to convert string to FileImageSource (Icon) Xamarin Forms

How to convert a string (Image) to FileImageSource (Icon)? I need to display a photo in ToolbarItems in the right corner of the hamburger menu. I tried it that way, but it did not work. My code: FileImageSource IconF...
asked by 06.12.2016 / 14:52
1
answer

Application made with Xamarin does not execute JavaScript

I've developed a small application with WebView in Xamarin, it loads the page correctly, but is not running JavaScript, JavaScript with webView.Settings.JavaScriptEnabled = true; but no success, I have no experience with Xamarin , d...
asked by 03.02.2017 / 13:47
1
answer

What is the generic name of the Xamarin search field for use in automated testing?

Can anyone help me with this? I can not use the same test code for iOS and Android. The search field name that was found is not the same, ie: Syntax in iOS - app.Query(x => x.Class("UISearchBarTextField")); Syntax in Android - app.WaitForEl...
asked by 17.02.2017 / 10:40
3
answers

How to access components of the view that are inside a ListView Xamarin Forms

I need to access the properties of the components created in View to set some values (example height and width), but they are within a ListView , so in .cs I can not give this. with x:Name . I tried this way, but it...
asked by 29.12.2016 / 19:19
1
answer

POST is not receiving JSON

I need some help with running a POST. Well, when I try to call my API ( link ) to execute a Post, I can not pass the JSON for her. The following is the API used: // POST: api/Teste public void Post([FromBody]string json) { ClassRetorn...
asked by 11.10.2016 / 04:51