How are we to do global exception handling in Xamarin.Forms?
I've found the AdvancedLifecycleDemos for Android, and I'm thinking of converting it to some sort of cross platform implementation, but I'm wondering if someone has already done this? I haven't found...
View ArticleNullReferenceException in PopModalAsync()
I'm trying to write an async method which should be called from a background thread. The method should open a modal page, read some input fields, close the modal page and return the read values. This...
View ArticleProblem binding icon to ToolbarItem
Hi, I have view built in Xaml and a viewmodel tied to the views bindingcontext. In my viewmodel I have an attribute containing the image path I'd like to have on a ToolbarItem....
View ArticleCircleImage is not refreshing after Source changed (Android 4 and lower)
Hi developers, I am using the CircleImage control from this page: https://blog.xamarin.com/elegant-circle-images-in-xamarin.forms/ When I set the Source of the image directly while the page loads it...
View ArticleXLabs IMediaPicker on Android not working
I'm really struggling to get access to the camera and photo library when using XLabs in my PCL project. Things work perfectly on iOS but Android is simply not working. In my Android MainActivity.cs...
View ArticleImage Dropdown Spinner Control
Hi. I want the user to select the background of my app. In Android, there is a control called spinner from which items could be selected (like select list in html) and its items can be images. I...
View ArticleCan't change text of Editor or Entry for Windows Store App
I tried creating an entry with a behavior that only allowed integers to be entered. I handled the TextChanged event and if the entered value wasn't an integer I'd set the text back to the old value....
View Articlepassing an object in the constructor to a clicked event
I'm pretty new to Xamarin and recently start trying to make an App using the Xamarin.Forms XAML: <Button Text="Quick Links" BackgroundColor="#99CCFF" Grid.Column = "2" Grid.ColumnSpan="2"...
View ArticleI need to give an image and a label as a footer in splash screen in...
I need to give an image and a label as a footer in splash screen in xamarin.froms, how is it possible?
View ArticleVisual studio 2015
Anyone else getting compiler problems with Xamarin forms in visual studio 2015? I have the Xamarin packages there but I'm getting things like ContentPage doesnt exist
View ArticleTheme = "@android:style/Theme.NoTitleBar"
Why does my Xamarin.Forms android application crash when I attempt to specify Theme = "@android:style/Theme.NoTitleBar" in my Activity?
View Article[XLabs 2.0.0-pre91][Android] MediaPicker SelectPhotoAsync Crash
Hi Everyone, I try to make a use of MediaPicker in Xamarin Forms and it works perfectly on iOS and Windows Phone but it crashes on Android. It crashes wo no exception whatsoever as the Exception is...
View ArticleUnhandled Exceptions
Whats the best way to catch global unhandled exceptions in Xamarin Forms? Thanks
View ArticleHow to create a pop-up form for users to fill out when a button is clicked?
So I have a CarouselPage that users can navigate between a few pages with different information. I'd like for users to be able to click a button from any of those pages and have a form pop up for users...
View ArticleHow to create an Entry for address with Current Location option in...
I'd like to add an Entry for users to enter an address but would like there to be an option for Current Location like they have built into the maps app in iOS and Android. Is there any way to do this...
View ArticleContentPage pop
Hi, Is there a way to programatically close a content page with xamarin forms? I don't see a close method or something similar. I have a timer in the class that will popasync if a certain condition is...
View ArticleSwipe Gesture on Relative Layout
have a Xamarin App which I am trying to add swipe gesture recogniser to a Relative Layout via Custom Renderer. public class MainPageCarouselRenderer : VisualElementRenderer<RelativeLayout> {...
View ArticleDeployment failed. Architecture not supported.
Hi I am getting the below error while deploying.. The package does not support the device architecture (x86). You can change the supported architectures in the Android Build section of the Project...
View ArticleDisappearing event not called
I'm trying to hook methods to the two events Appearing and Disappearing but the latter is never called when I switch pages in a TabbedPage. tabbedPage1.Disappearing += (sender, e) => { //Do...
View ArticleUnable to scroll unless on a control
I currently have a scrollview with controls inside. However on Windows Phone when I try to scroll the page up and down, the scroll doesn't work unless I am touching a control inside that scroll view....
View Article