Webview and posting web authentication
Hello everyone, I'm creating a mobile application to interact with a website. The website has a login page that has a field for username and password. The website takes the login data, authenticate,...
View ArticleXamarin.Forms.Labs only support PCL project?
Dear folks, I am using Xamarin.Forms.Labs to help me , it is powerful and easy to use . But it seems XLabs does work for shared project. Am I right? But I need to consume .asmx webservice, it is not...
View ArticleIssue opening a MFMessageComposeViewController on any option click in...
I have a requirements to show 3 options in an alert say Call / Text/ Cancel for iOS. As displayAlert cannot be used for 3 options I have created platform specific tweak and using UIAlertView in iOS. I...
View ArticleXaml.g.cs null reference exception error .
I am new to Xamarin just learning . I am creating simple layout application sample and found an exception "Object reference not set to an instance of an object exception in .xaml.g.cs" .What should i...
View ArticleXamarin.Forms Bindable Picker
If anyone wonders how to make a Bindable Picker, here's the code: ` public class BindablePicker : Picker { #region Fields //Bindable property for the items source public static readonly...
View ArticleXF Serious memory leaks while creating new strings
I'm seeing some serious memory leaks from a simple string formatting operation. I noticed this due my application UI getting slower over time. I decided to create a very simple solution to isolate and...
View ArticleXAML Localization not working
Hi! I have no experience in Xamain, so maybe my question is dumb, but here it is: I use the https://developer.xamarin.com/guides/cross-platform/xamarin-forms/localization/ link to setup localization in...
View ArticleAndroid release build crashing trying to load sgen
I am trying to build an Andoid release build for my Xamarin.Forms project, but I keep getting the following error: [monodroid] Trying to load sgen from:...
View ArticleHow do I make DatePicker look like a button OR Show Select Date Dialog using...
So I would like to have an "Add To Diary" button and allow the user to then select a date from a dialog to add an item to a diary. Now I can get aDate Picker Dialog using the DatePicker control, but...
View ArticleXamarin forms license activation error
Hi, I am facing unhandled activation error when i try to login with my xamarin credentials. I tried removing the files and folders from Mono , Monodroid and other mentioned locations. I tried...
View ArticleHow to add checkbox control in XAML
Hi, I want to add Checkbox control in Xaml page. I added below code in .Xaml page. <CheckBox Margin="10, 10, 3, 3" Name="acceptPolicy" Content = "Accept our policy" FontSize="12"...
View ArticleMultiselect ListViews
I am new to Xamarin Forms and was wondering if we could build Multiselect Listviews using Xamarin Forms. Any help would be appreciated.
View ArticleDisplaying Placeholder text on a DatePicker - Can't get this to work
I followed the renderer here: https://forums.xamarin.com/discussion/35792/crash-in-custom-renderer-on-ios However, the text is never displayed and the datepicker always shows todays date when...
View ArticleIs there any way to populate TableSection of TableView with list in XAML?
I want to use table section like a separate lists of elements (is it a bad practice?). All I found is the way to create cells in code-behind and add them to a TableSection. Is it realy no way to fill...
View ArticleSelectedItem color (ContextActions)
I added to my View Cell the context Actions as described here https://developer.xamarin.com/guides/cross-platform/xamarin-forms/user-interface/listview/interactivity/#Context_Actions The context action...
View ArticleOnCurrentPageChanged issue on Windows Phone 8.1
This code works pretty well on iOS and Android, but why it does not work on Windows Phone 8.1 and are there any workarounds? protected override void OnCurrentPageChanged () { base.OnCurrentPageChanged...
View ArticleHow to customize entry borders
Hi am working on xamarin.forms android PCL . i want to remove the top border line of entry control and need to change color of it. can anyone help me with this...!!!!
View ArticleLabel, fontsize and extra top space on android
Hi, I have a label within an absolute layout with a fixed height. I have YAlign="Center". Then I increase the fontsize in order for the text to take the whole space in height. It is working fine with...
View ArticleCurrentPageChanged Event in Xamarin Forms Android for an Carosuel Page is not...
I have anCarosuel Page on the swipe of from left to right vice versa the content page is changing ,but it is not hitting the CurrentPageChanged Event as I have something needs to done over there. Does...
View ArticleUsing Completed event for "ImeAction.Search"
I've successfully created a custom renderer "SearchEntry" to enable the "Search" button on the keyboard for this entry. I'm also using the Completed event on the entry. On iOS this event gets fired,...
View Article