Questions tagged as 'xamarin-forms'

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
1
answer

Master Detail navigation issues in Xamarin Forms

I'm having problems understanding how Master Detail navigation works in Xamarin Forms, let's go to my code as it is now: 1- I created a interface for navigation: using System.Threading.Tasks; namespace MobileApp.Services { publi...
asked by 25.01.2017 / 15:34
1
answer

Comparative Xamarin.Forms Portable or Shared

Mobile development with Xamarin.Forms gives us two approaches: Portable:    Create a Portable Class Library (PCL) that targets the platforms   that you want to support, and use Interfaces to provide   platform-specific functionality....
asked by 24.02.2017 / 21:04
1
answer

Define image for button inside ListView Xamarin Forms

How to set another image to a Button that is within ListView by .cs or ViewModel ? I can not access this Button in .cs because it is within ListView . In my xaml, the button already has an image, however in a...
asked by 06.01.2017 / 12:21
1
answer

Intellisense Xamarin Forms does not work - Visual Studio Enterprise with Update 3

I installed VS with Xamarin but Intellisense in XAML files is not working properly. In some parts of the code it shows the list of suggestions as shown below. Butinotherpartsofthecodeitdoesnotshowthelistwithalltheitems(imagebelow). It'salsoo...
asked by 30.11.2016 / 02:35
1
answer

Use Droid project class in PCL Xamarin Forms

How do I use a class that was created in the project Droid in PCL ? I've created a new class that will save the image to a folder in the project, but I need to call this class in PCL . My class: namespace PCI.APP.Droid...
asked by 12.12.2016 / 14:30
0
answers

My Android App is giving error while executing

When I click the button the message: Android.App has stopped. I have this code that I downloaded on the internet to do a Geolocation test. AXml: <StackLayout Orientation="Vertical"> <Button Text="Get GPS location"...
asked by 18.12.2018 / 13:35
0
answers

Xamarin Forms JobService does not run on Android 8 (API 26)

MyclassthatinheritsJobServicehastheOnStartJobandOnStopJobmethodsimplemented.TheproblemisthatwhenIrunthecodeonAndroid6(API23)itworksnormally,butwhenIrunonAndroid8(API26)theclassisnotcalledanddoesnoterror,justdoesnotrun.>[Service(Name="com.RDA.Go...
asked by 24.11.2018 / 22:23
0
answers

Xamarin.forms label in IOS gets right, however on android gets "bugged"

In ios it looks like this: Andinandroid: I'vebeentryingtosolvefortwodays,Ialreadyresearchedgoogle,Idideverythinginthecodebutnothing.Here'sapartofthecode:<StackLayoutOrientation="Horizontal"> <Label Margin="1...
asked by 12.11.2018 / 21:19
3
answers

I do not know how to convert images to xamarin.forms.image

I am developing a xamarin.forms application and am having difficulty understanding how to fill in the parameter to convert an image to array of bytes, I searched a lot for some solution, found this method below to convert to array of bytes. p...
asked by 15.10.2018 / 00:22