Crash on device back button ->...
Hi everyone, I’m using Xamarin Forms 2.3.2.127 and I have a crash on Android when I use the back button of the device (Hardware). Actually, when I build and launch for the first time the application I...
View ArticleUWP GroupHeader isn't rendered when using ListViewRenderer
I have the following HeaderTemplate defined in App.xaml: <DataTemplate x:Key="ListViewGroupHeaderTemplate"> <TextBlock Foreground="Black" Text="Something" /> </DataTemplate> I use it...
View ArticleXamarin Forms app .... complaining I have no Android platform.....
OK, I updated today and now I get this error .... Severity Code Description Project File Line Suppression State Error No Android platform found. Please click here to open the SDK Manager and install an...
View ArticleMVVM method to make ScrollView scroll to bottom?
Is there a proper MVVM way to force a scroll view to scroll to the bottom? I know ScrollView has a ScrollToAsync(...); method but using MVVM dictates you shouldn't call methods in the code behind. Also...
View ArticleWhere do I put my api so I can consume it from my Xamarin.Forms application?
I have developed a REST api for my mobile application that "reaches into" my external SQL Server DB and makes whatever information that is requested available in JSON format. This api needs to go onto...
View ArticleControlTemplate for a custom control completely breaks the view
I have a custom control called ValidationSummary extended from Xamarin.Forms.Frame. Xaml of the control looks like this: <?xml version="1.0" encoding="UTF-8"?> <Frame...
View Article“Real” Resizing of Xamarin.Forms View
I tried to make a ContentPage with a few ContentViews that are growing on tap (And layout its Children!). That was working well with the LayoutTo(...) Method from Xamarin.Forms.ViewExtensions. But I...
View ArticleShowing one label at Start, another at Center in one StackLayout
var masterStackLayout = new StackLayout(); masterStackLayout.Children.Add(new Label { Text = "Top", VerticalOptions = LayoutOptions.Start, HorizontalTextAlignment = TextAlignment.Center });...
View ArticleXamarin Forms - Picker data binding using MVVM
Hi All, I have used MVVM pattern for building my application using xamarin forms. I need to bind my picker control with itemsource. But there is no property ItemSource is avaialble for pickercontrol. I...
View ArticleHow to compress a photo in xamarin?
Hi guys can somebody help me? I am trying to compress an image in xamarin, but when I use this: EZCompress1.Plugin.CrossEZCompress1.Current.compressImage(_stream, 50); I get an image rotated, does...
View ArticlePrism and NavigationPage
Hello, i'm playing around with prism. At the moment, i'm trying to create an app that starts wih a navigation page. In a 'classic' xamarin.forms app i would do it like this in my App.cs: public App ()...
View ArticleProblem compiling AWS S3 on iOS
Hi, I'm getting this error when I'm trying to build my iOS project in Xamarin. It was working, then it stopped, I guess I need to roll back something? Or am I missing a package? Thanks...
View ArticleAn Image inside a Grid makes it expand to fill full height.
Please consider the following XAML: <?xml version="1.0" encoding="utf-8"?> <ContentPage xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"...
View ArticleIs there a reason why 2 nearly identical forms will display content differently?
I have 2 forms that are nearly identical, only varying in the name of the internal controls. I cannot for the life of me figure out why one form will center a shared control and the other will not....
View ArticleSet height of a layout depending on screen size
Hi, On every page of my project I put an AbsoluteLayout (A) (I use it as a custom navigation bar) and I set its properties like this: <AbsoluteLayout AbsoluteLayout.LayoutBounds="0, 0, 1, 44"...
View ArticleHow to acces the current view UIViewController from an external service
I'm creating a Service in Xamarin.Forms that needs to open a new UI. For Android I'm using: private Context _activity; _activity.StartActivity(_authenticator.GetUI(_activity)); For iOS I need to access...
View ArticleCalendar Event List and Add / Remove Events
Hello, Is there anyway to access the calendar of the device and get something like a JSON callback with the events and also to add or remove events? Thanks.
View ArticleHow to call SOAP WebService
Hi, I'm trying to call a soap WebService by adding a webReference. It didn't work with forms(cross platform) project, so I did it by .Droid firstly. It works, but I can't generated classes with forms...
View Articlebackground image for grid in xaml page
how to set background image(xaml page) in grid using xamrin.forms in gridview. Following code gives error in my xamarin.forms <Grid.Background> ImageBrush x:Name="ProductImages" Stretch="Fill"...
View ArticleAssertion at ../../../../../mono/mono/mini/aot-runtime.c:4268, condition...
There is an unexpected crash in the latest Version of Xamarin Studio (6.0.1) (Build 9) , Xamarin iOS 9.8.1.4 , Xcode 7.3.1 And the targeted device iPad ( iOS 9.3.2) Error : Assertion at...
View Article