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

How to show alert popup ?

Hi all, I was working with the older version of xamarin forms, till that everything was working good but as I have upgraded it to XF version 2.0, my alert popup messages giving me error. Does anyone...

View Article


iOS CarouselPageRenderer causes exception on device(s) but works on simulators

I have a custom renderer for my app in iOS both Page, TabbedPage and CarouselPage that when used in a form called Modal just moves the "Cancel" button from right to left side so it shows as " Cancel...

View Article


Use native libraries in Forms?

Is there any way to use native libraries in a XForms application? For our app, we need to use this library http://www.payreto.mpymnt.com/ for iOS and Android. An example or tutorial with something...

View Article

Can animation LayoutTo work with RelativeLayout constraints to Views

I would like to animate the height of ViewA which constrains ViewB which constrains ViewC and see that ViewB and ViewC also update layout position according to their constraints. Pseuco Code:...

View Article

Push Notification that really works

Hello everyone, along these 4 days i tried every plugin and component that Xamarin and others provide to work with push notification and no one of them works. i've tried Azure Message, Azure Web...

View Article


AppCompat and Android Toolbar

Hi everyone, I'm making a XF Android application, and i'm using AppCompat with Xamarin Forms 2.0.1.6492 pre-1 (for the Master/Detail in landscape fixed issue). I'm always in landscape mode and master...

View Article

Context Actions command binding with parameter

Hello, I am trying to implement a swipe to delete: <ViewCell.ContextActions> <MenuItem Command="{Binding Delete}" CommandParameter="{Binding .}" Text="{i18n:Translate Delete}"...

View Article

How to deal with an image received from GET request

Hi I am new to Xamarin forms and I would like to ask if anyone knows how to deal with an image received from a GET request shown below var request = new RestRequest(command, Method.GET); try { var...

View Article


Issue with 'InitializeComponent' method...!

Hi all, I am working with the PCL project and recently I have upgraded the Xamarin Forms to version 2.0. Now I am getting the problem with 'InitializeComponent' method. It shows the error : "The name...

View Article


Info: How to change language (e.g. Back, Cancel) in standard-controls in iOS?

Hi all I’m coming from Switzerland and therefore, our app addresses the Swiss German market marked. As all the standard-text (only in iOS) (e.g. “Back” in page header instead “Zurück”, “Done” in Picker...

View Article

Is there a way to attach a behavior in code NOT in XAML?

Hi. Is there a way to attach a behavior in code NOT in XAML? If my content page is written in c# code not in xcml is it possible to add a behavior?

View Article

While opening pdf "this file could not be accessed". c#

I have an app that builds a listView of all the pdfs in a specified folder already located on the android machine. The file path and name are stored in an array called files[] and I can grab a full...

View Article

Avoiding memory leaks when using Xamarin.Forms

Sample code is often written to show one thing, and often does not handle non-functional requirements etc properly, whether that be localisation, performance, supportability etc. This is just one of...

View Article


Focus problem in TableView with several EntryCells

Hi, just look at this Screencast: http://screencast.com/t/7lS8R6dNvpe If I select the lower EntryCell the upper one get's the focus as soon as the keyboard is displayed. Best Thomas

View Article

Maps with callout shown not filling the screen after changing orientation

We have a Xamarin Forms (2.0.0.6490) app which uses Xamarin.Forms.Maps.Map (2.0.0.6490), but it looks like the map won't fill the screen if we rotate the iPad from landscape to portrait and then rotate...

View Article


How do I Set the Icon for the MasterDetailPage Master Icon using a drawable?

How do I SetIcon for the MasterDetailPage Master Icon? The following code will only update the actionBar Icon Drawable. The MasterDetailPage.Master.Icon attribute only accepts a FileImageSource and I'm...

View Article

Windows Phone 8.1 embedded string resources from PCL

As I read - for Windows Phone 8.1 XF - here 'due to the WinRT default trust level, embedded resource loading from a different assembly will not work unless the ReflectionPermission on the source...

View Article


XF MasterDetailPage - MasterPage with ListView wont bind to ViewModel (MVVM)

Hi all, I am just starting out with XF so I apologise in advance if this seems trivial! I have set up a master detail page and have used the code behind to populate the ListView in my master page. This...

View Article

Command not called from Command parameter in custom control

Hi folks, I'm trying to create a custom control, derived from Button (not from "View") which has some added BindableProperties on it. This is what I've tried - in order to get the tap functionality of...

View Article

Attempting to JIT compile method (....) while running with --aot-only.

Hi to all. I am getting this exception when I process a WCF request from my Xamarin.Forms app: "Attempting to JIT compile method '(wrapper runtime-invoke) :runtime_invoke_bool_Nullable`1...

View Article
Browsing all 75885 articles
Browse latest View live