Xaml Data Binding
Hi. There is way to call a view method from xaml. For example: public class MyLabel : Label { public MyMethod(String pParameter) { ... } } <?xml version="1.0" encoding="utf-8" ?> <ContentPage...
View ArticleStoring data with Sqlite.net Extensions
Hi there, i'm currently making an app that is using Sqlite to store an object that has a list of object within it. I've been having trouble trying to insert and retrieve the object for the past week...
View ArticleListView in TableView: Unable to activate instance of type ...ListViewAdapter...
In my shared code project application I'm using something similar to this: List<string> data = new List<string> { "1", "2", "3", "4", "5", "6", "7" }; ListView lv = new ListView() {...
View ArticleApplication crashes when ContentPage in TabbedPage has its IsVisible property...
Application crashes when ContentPage in TabbedPage has its IsVisible property set to false with exception: "Unable to cast object of type 'Xamarin.Forms.ContentPage' to type 'Xamarin.Forms.View'."...
View ArticleXamarin.Forms binding with indexers crashes application
When using an object with two indexers, the binding can't resolve it and the application crashes. For instance, if the following binding is set <Label Text="{Binding [asdf]}" /> And the...
View ArticleCustom Master Detail opacity
Hi Experts, I have a custom master detail page that is a tabbed page. By custom i mean that i used multipage so that i could control the direction of the animation. Everything works fine except that...
View Article"Xam.PCL - Settings Plugin" gives error in test project
I have recently added the Xam.Plugins.Settings to my Xamarin forms project and it is working fine - but it is now failing my unit tests. My unit test are agains ta PCL library but it gives the...
View ArticleIs there a good cross platform admob component/pcl with examples?
I saw one; but it had no documentation and seems that it's fiddly to compile. Wondering what people do for advertising. I'm not an android guy, and perhaps it's really easy; but so far to me it looks...
View ArticleWinPhone & Win 8.1: Crash on Navigation.PopModalAsync() if the page contains...
I have a xaml page “Details_View” showed with ContentPage.Navigation.PushAsync(Details_View) with an Editor inside. If I call Navigation.PopModalAsync() the app crashes (happens only on WinPhone and...
View ArticleSubmission: SegmentControl for Xamarin.Forms.Labs
The Klickle Development Team would like to submit to the Xamarin Forms Labs project an implementation of control that mimics the IOS UISegmentControl. The license would be the Lab's license of Apache...
View ArticleOpen Camera app and take photo
Hi, I have an app for android and now I am extending it to iOS. I need to take photos from the app. I am using native calls with dependency service (described in this thread) From PCL I call the...
View ArticleGoogle Maps with Xamarin.Forms - Get Directions
How can I get the directions using the Google API (Map) for Xamarin.Forms?
View ArticleUpdating ObservableCollection from async task crashes app. Bug or are we...
Hi We are currently building a Xamarin Forms application but have encountered a problem. It is sometimes crashing (in Android) whenever an ObservableCollection is updated from an async task. We do some...
View ArticleIs there a method similar as ViewwillAppear() or ViewDidAppear() in Forms??
I want to load something when the view will appear which is pretty much similar as ViewwillAppear() or ViewDidAppear() in iOS?? Can I use something instead? Thanks advanced.
View ArticleListView inside StackLayout: a height problem
In a ContentPage I have a ListView inside a StackLayout inside a ScrollView. The ListView is populated (ItemSource is set) in the ContentPage when OnAppearing gets called and I can see that the list is...
View ArticleTesting in Android - getting an error with the shared runtime
I'm trying to test my XF application in an Android genymotion emulator. Unfortunately, I can't get the application to start. I am getting the following error when I look this up in monitor. This...
View ArticlePage Lifecycle
I'm trying to override 2 Xamarin.Form Page lifecyle methods (OnAppearing() and OnDisappearing()), but it doesn't appear to be working. ` protected override void OnAppearing() { base.OnAppearing();...
View ArticleCustom Cell Click (ListView)
Hi everyone. I have a custom cell class for my listview. When i selected an item, i want to get it's name variable. But I couldn't do it with ListView's itemselected function.. Please help me! Thanks!
View ArticleNavigation Page Toolbar
Hi! How can I add a bottom toolbar to my Navigation Page? I'm using Xamarin.Forms, not iOS specific code.
View ArticleA Missing Method Exception
A created a new Xamarin Forms project for Android project and changed nothing. And when i debug it in a android simulator, the app get an error before entering onCreate method. I checked the stack...
View Article