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

Storing Controllers Inside Xamarin Forms Custom Renderers

I am creating a Xamarin Forms custom renderer. I need to invoke and manipulate a native iOS view controller inside the custom renderer. I see two possible options : Create a custom class and extend...

View Article


Xamarin Forms app crashes in release mode

My Xamarin Forms app crashes in release mode. The Android log says: "Info(1209)/ActivityManager: Start proc com.companyname.testapp for activity...

View Article


GetMainPage command obsolete in Xamarin.Forms Sample

I am working through the Xamarin.Forms Heart Rate Monitor Sample code. on the mainActivity.cs in .Droid, the following error is flagged up over the LoadApplication (new App ()); line. Error:...

View Article

Image may be NSFW.
Clik here to view.

Box view with rounded corners + badge with counter, snippets

I believe simple rounded box view and even badge widget should be a part of some generic Xamarin.Forms extension kit. I'm not familiar with writing plugins workflow though. So I decided to share some...

View Article

Image may be NSFW.
Clik here to view.

A problem with Xamarin.Forms plug-in and Code Compilation with .NET Framwork 4.5

Hello, I just started with Xamarin studio. I would use Xamarin.forms to create an Android app (on windows) and iOS mac; beacause I don't have Visual Studio. I installed all the files without problème...

View Article


Has anyone made a Picker with bindable items?

Has anyone extended the Picker control to expose a Bindable property ItemSource that when set, goes and adds the items to the Items property? Is it that simple or am I being naive? Has anyone managed...

View Article

Changing ListView's ItemsSource causes an out of range exception in Windows...

There appears to be a bug in the ListView control for Windows Store apps. If you try to change the ItemsSource after it is loaded it throws an exception. The same exception is thrown if I initially...

View Article

InitializeComponent does not exist

Hi, I'm having difficulties on XAML files in a Sheared project. Using Xamarin Studio; What I did was simply adding a xaml page to the project and build without adding any code. And it gives me the "The...

View Article


Quick and dirty demo for those who start with OpenGlView

I wrote this starter demo based on Xamarin triangle ES20 demo. I hope that will help people to use OpenGlView.

View Article


How to extend Android ActionBar functionality for the NavigationPage?

I want to extend the NavigationPage functionality by making it possible to add a background image to the navigation bar(iOS)/action bar(Android). Therefore I have extended the NavigationRenderer for...

View Article

Handling SQLite PCL ; DB path:

Hi guys, how can i make sure to use always the same path once the db is created? The issue i have now, every time i start to debug the app on the iOS simulator the app creates a new db.. Im checking...

View Article

FontAwesome Label: Here's how!

Here's how you'll use the new FontAwesome label (Any Graphic font will work, but FontAwesome is Awesome): var coolLabel = new FontAwesomeIcon(FontAwesomeIcon.Icon.Gear) Here's how to set it up....

View Article

How to use On Scroll event in Xamarin.Forms ScrollView

I need to tap into the On Scroll event of a ScrollView to do an animation and I also need to get the scroll offset in that same function. I know this isn't built in, but has anyone had to do this or...

View Article


StackOverflowError on Android

The same application works fine on Windows Phone, but throws error on Android. Stack overflow on call to interp (req=68 top=0x56c51000 cur=0x56c4d33c size=16384 Ljava/lang/ref/FinalizerReference;.add)...

View Article

Forms2Native Example for WinPhone 8.1 Xaml (WinRT)

Hi. I'm trying to implement the same pattern in Forms2Native example for WinPhone Silverlight that in the example... But. There is no Childern property. in the example: `public class...

View Article


Webview broken

I have a webview that is bound to an HTML snippet snippet: <h1>Hello World!</h1> <WebView> <WebView.Source> <HtmlWebViewSource Html="{Binding Html}" />...

View Article

Changing the StackLayout.IsEnabled property doesn't have any effect...

In WPF, we can set StackPanel.IsEnabled = false and it will set IsEnabled = false to all the controls contained in the panel. I tried to do the same with the StackLayout, but it doesn't make any...

View Article


No constructor found for...

On Android 4.4.2 sometimes I get: Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: System.NotSupportedException: Unable to activate instance of type...

View Article

Best Practice on Application Settings using Xamarin.Forms

Hello! I would like to ask the community for some advice regarding the creation of a “Settings” view. The goal is to provide options to a user and store them as application settings. I’m using Xamarin...

View Article

Xamarin still use old version of my code

Hello, Today i faced a problem that i can't really understand. I created a clickable list with multiple StackLayout and GestureRecognizers. One of them open a new ContentPage with some elements in it....

View Article
Browsing all 91519 articles
Browse latest View live


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