how to add ListView to Tab?
I am new to Xamarin and I have a question as to how to add Listview to a Tab? tab1 = new UIViewController (); tab1.TabBarItem = new UITabBarItem (); tab1.TabBarItem.Image = UIImage.FromFile...
View ArticleHow can I resove a XLabs-IoC-Unity version mismatch
Working on a Xamrin.Forms application for android I wanted to make use of the Unity IoC-Container. I added the XLabs-IoC-Unity package via NuGet, but whe I build my application I get the following...
View ArticleOnBackButtonPressed not called
Hi, I am Forms XAML Page (named ScanPage) which is the Detail of a MasterDetailPage. Now the OnBackButtonPressed Method of the ScanPage is never called, instead it always jumps right to...
View ArticleBest way to use HttpClient, as singleton or new instance for each http request?
Hello everyone, what is the best practice to use HttpClient? Is it better use it as singleton or as a new instance for each request? I'd tried to use it as singleton and it works nice, but when I make...
View ArticleIssues with the latest alpha version of Xamarin with forms
Hi, I'm updating an app I wrote a while back that uses Bing maps. While the app breaks, I'm seeing that the likes of FillAndExpand is only showing for half the screen on the Xamarin Player and...
View ArticleWebView - Get height of content
I have a view set up with several webviews vertically stacked inside a parent container which is a scrollview. Each webview has different content. I created a custom renderer for iOS which allows me to...
View ArticleXaml code formatting (and maybe intellisense). any ideas on how to implement...
I'm just finishing up my first xamarin addon. It adds some code comfort features I miss from Jetbrains ides. Something that drives me crazy is that there's no xaml formatting. I was wondering if I...
View ArticleXamarin Labs HybridWebView and Javascript.
Hello, I'm trying to call a javascript and use a listView to show the return. However I'm having some problems and it is not working. I'm using the hybridWebView from Xamarin Labs. For my javascript to...
View ArticleDefault Xamarin.Forms App template does not work
I have created a new default Xamarin.Forms app and run it, but on the phone I get "Unfortunately, ... has stopped." Is there a solvable solution for this?
View ArticleAdd Logo to Android ActionBar in Custom Tabbed Page
I want to customise the ActionBar on Android in a TabbedPage to add a logo at the left of the action bar. What event do I override and how do I get access to the ActionBar? I'm thinking something like...
View ArticleViewCell isEnabled = false. Cell still responds to tap
Hi, I'm trying to get Custom ViewCells in my ListView not to respond to taps. Currently, when tapped in Android or iOS the cell will lighten / darken respectively. I have listView.SelectedItem = null;...
View ArticlePageRenderer Constructor taking one Argument
Hey, This is my Code: { public class BeaconPage : ContentPage { public BeaconPage(int BeaconMinor){} } } and trying to push to this Page in Xamarin.Forms: Navigation.PushModalAsync(new...
View ArticleUsing Android's JavascriptInterface with Xamarin Forms WebView
Hello, I've spent the the last two days trying to get Android WebView's JavascriptInterface to work with a Xamarin Forms WebView - and finally I did. But the solution I found seems like an ugly hack....
View ArticleHow to override ToolbarRenderer?
Is it possible to override ToolbarRenderer on a specific platform? I tried even setting my custom class in internal Registar class (running the code after Forms.Init()), but it still doesn't work. var...
View ArticleThe name "ContentPage" does not exist in the namespace...
Hi I am new to Xamarin Windows Phone App. How to solve this Error. I am using Shared Code project. I am just calling the Forms(Xaml Page) Through Shared Project Reference For Windows Phone. The Error...
View Articlehow to get Device Height and Width in xamarin form ?
how to get Device Height and Width ?
View ArticleHow to dealing with size of layout in xamarin form?
how to set width and height of layout common for all device (say size in pecentage)?
View ArticleHow to implement scroll up and down button for scrollview in Xamarin Forms?
is there is any way in ScrollView Class?
View ArticlePinterest Authentication Problem
Hi, We have working on Social account Authentication API like Facebook,Twitter,Instagram etc. All other many social accounts API are working fine. but we have facing the problem with Pinterest API, its...
View ArticleCustom Renderer / Debug Issues
I have had two issues which occurred while building a custom renderer. I built a simple demo app. with a custom renderer, to try out a cross platform swipe view. The code works in Xamarin.Forms...
View Article