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

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


which is best for Cross platform app either xamarin studio or visual studio

I am trying to develop cross platform mobile app (Android, IOS, Windows)... which one is best either xamarin studio or visual studio???

View Article

Windows10 64 bit crash on startup

We're trying to build our app for Windows 10 64 bit (it works on 32 bit). Get this exception at startup in MainPage() when we try to instantiate the app (xxx.App app = new xxx.App()) Message =...

View Article

VS 2015 Errors on sample projects

Hi there, Hope someone can help me. I'm checking out the xamarin-form samples on github. On most projects i get the following 2 errors : Error Build action 'EmbeddedResource' is not supported by one or...

View Article


Image may be NSFW.
Clik here to view.

Passing and consuming Command's to a ViewCellRenderer with centralised...

Hi All, I am new to Xamarin and have recently started my first project which is a conversion of an app originally written for Android. I was faced with the prospect of converting to IOS and then...

View Article


Label binding only works the first time I set it (?!)

Feels like every trivial task I try to accomplish with Xamarin lately turns out to be a huge time sink. I'm binding to a Label and I'm able to update it through the binding but only the first time. All...

View Article

Consume soap web service with Xamarin.Forms

Hello, I'm using Xamarin Studio on Windows to make an Android app(Portable Xamarin.Forms project). I'm trying to consume a web service using the guide at this page:...

View Article

Strange error on iOS 9 XF 1.5

Same times, usually when the iPhone have no internet, my app crashes and the message in the debug output is this: 2015-09-24 15:09:39.950 UseallE2ComercialAVMobileiOS[2556:735137] ** -[UIApplication...

View Article

How to return selected image's path from Android to Xamarin Forms

I want selected image's path returned to Xamarin Forms PCL project. I've tried to return path by following many forum answers on the topic which display selected image's path as Toast notification...

View Article


How to write a custom renderer for Frame in Android?

Hi all, could somebody point me to how to write custom renderer for Frame in Android?

View Article

How to make a sliding panel in XAML

Hi, I try to make a sliding panel like this one : http://www.redbitdev.com/wp-content/uploads/2015/04/panel-animation-wp.gif (but without animations) in XAML. Did somebody has already done something...

View Article


Is it possible to inflate a View from XAML?

I would like to create the XAML file for a View and use it in different pages. In native Android I'd do it this way: LayoutInflater inflater =...

View Article

Using ElementName on Binding gives me an error

Hi, I'm using Xamarin.Forms.Behaviors and i'm trying to pass through the CommandParameter the SelectedItem to my ViewModel using RelayCommand, but always get an error saying:...

View Article


Image may be NSFW.
Clik here to view.

How to Change the display alert background & fore ground color and Needs to...

How to Change the display alert background color & fore ground color and Needs to add an Icon in the alert in xamarin forms, Now It's displaying in black color like following Thanks Rk.Moorthy

View Article

Windows Phone Back Button Navigation

Hi, So in my Windows Project I have the Hardware Back Button pressed code void HardwareButtons_BackPressed(object sender, BackPressedEventArgs e) { if (OnPageMenu == false) { e.Handled = true; } else {...

View Article

Custom ButtonRenderer not called when my Activity inherits from...

My Custom ButtonRenderer does not get called since my Activity inherits from FormsAppCompatActivity instead of FormsApplicationActivity Is this a known issue? My custom renderer: [assembly:...

View Article
Browsing all 77050 articles
Browse latest View live