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 ArticleXamarin 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 ArticleGetMainPage 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 ArticleBox 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 ArticleA 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 ArticleHas 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 ArticleChanging 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 ArticleInitializeComponent 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 ArticleQuick 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 ArticleHow 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 ArticleHandling 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 ArticleFontAwesome 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 ArticleHow 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 ArticleStackOverflowError 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 ArticleForms2Native 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 ArticleWebview 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 ArticleChanging 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 ArticleNo constructor found for...
On Android 4.4.2 sometimes I get: Caused by: md52ce486a14f4bcd95899665e9d932190b.JavaProxyThrowable: System.NotSupportedException: Unable to activate instance of type...
View ArticleBest 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 ArticleXamarin 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