Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Browsing all 91519 articles
Browse latest View live

SelectedItem

Hi All, I have a listview that I displays a list of items. The items are coming from a database(webapi). When someone makes a selection, how do I get the value? I have googled but still can't seem to...

View Article


Xamarin.Forms.iOS Google Maps Error

I have this error with setting up the CameraPosition for the Google Maps for iOS. ERROR: System.Exception: Could not create an native instance of the type 'Google.Maps.CameraPosition': the native class...

View Article


Image may be NSFW.
Clik here to view.

Major bug in tablets with AppCompatActivity

I've reported this since 1.5.2 came out, and it's still the same issue at 2.0.0.6484 Basically, tablet landscape mode will not show toolbar buttons. Here is a picture in Portrait: You can see the...

View Article

Navigation and AppCompatActivity

Hi all, I switched from XFormsApplicationDroid (I'm using XLabs) to FormsAppCompatActivity (of course for the Android part of the app) But now I have a problem... I have to push a new page and remove...

View Article

How to access other control elements of Cell from the button event handler in...

Each row has two buttons with image called A and B in ViewCell, if click on the A button the image of the button B should change. The event handler for button A is in cs file. From this handler how to...

View Article


Destroy a Task

Hi Friends, and Happy Christmas to all of you. I have this problem. I have an app that, on OnStart(), create a Task Task.Run(async()=> startTimer (60000)); this startTimer() has this code... private...

View Article

UWP + Forms 2.0 - Custom Page Renderer always shows empty

I have below custom page renderer for UWP app, while the app always shows an empty screen, from the debug with the Loaded event, I can see the border element in the ContainerElement with ActualWidth=0...

View Article

Xamarin.InAppBilling, how to get Activity not Context in Xamarin.Forms

When a user clicks a button, I want the Google popup to show (if on Android platform of course). I can do it, but only in my regular ProjectName.Droid project. I cannot do it with DependencyService...

View Article


BaseUrl for HtmlWebViewSource: how to use it?

I'm trying to set the BaseUrl of a HtmlWebViewSource for a WebView, so that local resources such as images can be shown when I want to load a web page from a "local" string containing the html. I...

View Article


Wait an activity to finish

Hi, I am making an App to take pictures, I have a method in the Android section using dependency service. This method start an activity for taking the picture and return the path to the picture so I...

View Article

Can the padding between rows in a Grid be changed?

Hi there, I'm having a little trouble using the Grid layout in Xamarin Forms. I am using a Grid in my application, which contains a number of rows, each containing a label and a picker, side by side. A...

View Article

CustomRenderer on iOS - sizing to the bounds of the custom control

I've got a custom ViewRenderer, which I'm using to play a video (so far on iOS). This is working, but the MPMoviePlayerController is being cut off at the bottom of the screen - attached screenshot. I'm...

View Article

What is the event for a swith in ListView

Hello, I work with XamarinForms with a NavigationService. I work about an app about amusement park. This view display all places available to do sort by Categories I have this listView.xaml : <?xml...

View Article


Launch a tabbed page from a tab

Hi, I am currently bringing FTrack2 (available on the app store) from being iOS only to work with Xam.Forms. The app relies on different parts of the app having different navigation bars. For example,...

View Article

Linker Error - Error 105 Native linking failed, undefined symbol:...

Hi, I'm getting error when I try to build the application with "Link All Assemblies" option. App builds and works fine when I use Dont Link option!! 5> Undefined symbols for architecture x86_64:...

View Article


Set context menu not for all TextCells in Tamarin.Forms

Hello everyone! I have ListView with only 2 groups. I need to set context menu for only first one. Is iOS SDK, for example, I could call delegate method CellForRowAtIndexPath and customize cell there....

View Article

How to thread itemsSource loading of a listView

Hello, I have an app (Xamarin.Forms portable) with MVVMLight with a navigation service. The BindingContext have a list of object which are some observableCollection. I launch the app, go to the...

View Article


C++ DllImport in Xamarin.Forms

How can I import my C++ DLLs [DllImport] into a Xamarin.Forms such that the common methods can be pinvoke from iOS and Android apps.

View Article

Initial support for a Xamarin "advanced" beginner

Hi. I'm a C#, Deplhi, Clipper and Pascal (among others) developer. I met Xamarin, and it was love at first sight, and I'm trying to learn with development challenges of serious applications. However,...

View Article

Hiding data in a Forms element

I want the UI to maintain info about activities like, "The user has clicked this before" (set programatically). Html5 has a half-supported convention where you can stick arbitrary data in the DOM using...

View Article
Browsing all 91519 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>