DateTime picker in TableView
I'm trying to convert a MonoTouch.Dialog application to cross platform Xamarin.Forms. From what I have seen of Xamarin.Forms so far, the dialog view controller in a MonoTouch.Dialog rendered what is...
View Articleuse "SmoothScrollToPositionFromTop" xamarin.forms android
I need to make a ListView scrollTo xamarin.forms android. How I can access the action "SmoothScrollToPositionFromTop" from "Android.Widget.ListView" from a "ExportRenderer"? I've tried the following...
View ArticleCrash on Android when entry bound to integer
In my app, I have an entry that is bound to an Integer. Everything works properly, unless my entry contains a 0 and I try to type another number. As soon as the second number is typed, the app crash. I...
View ArticleDependencyService does not work with iOS
Hello I use DependencyService to access platform specific features from a PCL library with Xamarin Forms. It works perfectly with Android and Windows Phone devices, but crashes on the dependency...
View ArticleNotification manager & Forms
In my android project, I have written code to add notification to Android's notification area. It works. However, on click on the notification, I want to show a page which is part of the Forms project....
View ArticleData binding error handling?
What's a pattern for handling errors with data binding, for example, when user input can't be converted to model's required type? I can't find anything in IValueConverter that could help identify...
View ArticleLayout question - is there a component similar to Flash Builder's Spacer?
In flash builder there is a great component, for working with layouts, called the Spacer. Is there a similar component in Xamarin Forms? A typical useage of Spacer would be: I have a horizontal layout...
View ArticleiOS custom UIViewControllers
Background: We have a cross platform MVVM framework (similar to MvvMCross), which contains it's own navigation. For the windows and android platforms, XF works just fine, because we can define our own...
View ArticleLayout Renderer Android
I 'm trying to create an Android Renderer for a StackLayout because I want to add a background with border and other things. Is it possible? What is the class that I have to inherit from? Regards
View Article[Android] Button CustomRenderer OnClick issue
Hello everyone, after I wrote my own custom renderer for a Button my OnClick events are not triggering anymore. Does anyone had the same problem before or know what I could try? public class...
View ArticleCan't load type from xmlns - Custom Control
OK, I'm sure I'm doing something silly here. I created a new custom control: namespace MyVote.UI.Droid.Controls { public class ImageButton : Button { public string Image { get; set; } } } I also...
View ArticleCan't navigate to declaration on Xamarin classes
Whenever I attempt to go to declaration on a Xamarin Forms class (e.g. Button, Label, TapGestureRecognizer, Page), I always get a dialog saying an error occurred, and if I view details it says...
View ArticleHow to preload Images with ImageSource.FromFile?
This is tested with Android + emulator. Hi everyone, I have a image on my page that gets changed every time a user hits a button. The images are in my Resources/drawable folder and get loaded with...
View ArticleTextCell - Text and Detail are side-by-side, not stacked
All the samples show the text cell as being Text on top, with Detail underneath in smaller text (Subtitle style in iOS) However, when I create a TextCell, the Detail is appearing to the right of the...
View ArticleHow to Navigate Form Xamarin.Forms Page to an Android Activity on button...
I was created a new project using Xamarin.Forms(Portable). When I run (projectName.Android) it initially displays the page from (projectName(portable)) i.e., Runs the GetMainPage() method from App...
View ArticleHow do I use IValueConverters?
I have created a converter which looks like this: public class SecondsToHoursMinutesValueConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo...
View Articleexpandablelistview.itemclick does not get fired
I have been working on this for days now. I set android:focusableInTouchMode="false" but it didn't help. Here is my code: Main Activity: `using System; using System.IO; using System.Collections; using...
View ArticleIdeas for implementingFloating button above a scrollview? ala FB Rooms or...
Similar to what you see in the new Gmail App (5.0) & Facebook Rooms?
View ArticleHow to capture an event in Xamarin.Forms that was fired from an Android...
I have written an Android Service (using Xamarin) that fires a DataUpdated event, I would like to display the argument that was passed in the DataUpdated event on a Xamarin Form. I have tried to use a...
View ArticleHow to change text/button color of the NavigationPage
Hi, Anybody knows how to change the text/button color for the NavigationPage control. See: http://take.ms/BFzyc Thanks, Alex
View Article