Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Browsing all 91519 articles
Browse latest View live

Sticky header bar effect like Instagram (listview)

Something like this using Xamarin.Forms? https://github.com/rzee7/PRAPinnedListview

View Article


InitializeComponent does not exist

Hi, I'm having difficulties on XAML files in a Sheared project. Using Xamarin Studio; What I did was simply adding a xaml page to the project and build without adding any code. And it gives me the "The...

View Article


Autosize font label

I have seen a custom approach to autosize the font of a label, but I am missing such a built-in feature. How do you others handle different font size on different systems / resolutions, please?

View Article

How to get an original image size?

Hi! I have the very basic case, but can't find elegant solution: need to know original image size for layout. But after loading an image to Image view I get -1 value for its width and height. Here's a...

View Article

NullReferenceException with CustomRenderer in iPhone 4, iOS 7.1.2

The crash exception has: System.NullReferenceException: Object reference not set to an instance of an object at Xamarin.Forms.Platform.iOS.RendererFactory.GetRenderer (Xamarin.Forms.VisualElement view)...

View Article


New Video: FreshMvvm n=1 : Your first FreshMvvm Application

The next video in the series. http://www.michaelridland.com/xamarin/xamarinforms-mvvm-first-freshmvvm-application/ Please let me know what you think.

View Article

Anyone got Parse pushes working in a XF Android app when app has been closed?

I have Parse pushes working for all states (foreground/background/closed) on iOS, but on Android it only works when the app is in the foreground or background. If I receive a push after the user has...

View Article

Need some guidance, how can I communicate my Xamarin.droid to my Xamarin.form

This is what I'm trying to do, I want to create a navigation drawer in my Xamarin.droid using the materials designs, in which you can click an item and then it will take you to a xaml page inside my...

View Article


Detect application restart after termination

Hi, I miss an event, or state, in the new App Lifecycle, for detect whether the app was terminated after sleep, so when started again I need to know whether to restore any states (navigation stack,...

View Article


How to catch A geolocation error occured: PositionUnavailable?

I'm getting crashes with the unhandled exception "A geolocation error occured: PositionUnavailable" But the only place that I think I am calling anything geolocation related is the following: try {...

View Article

How to set Image source out of resources?

As I understood Image source must be inside the resources. what if my image is in different file location inside the device let's say "/storage/sdcard0/Android/data/FormsChallengs.Droid/test.jpg" How...

View Article

SeparatorColor and SeparatorVisibility dont work on Android.

I need to delete the separator in a ListView. I ve tried with the SeparatorColor and SeparatorVisibility properties. I also tried with the custom renderer...

View Article

How to dismiss ViewCell context actions

I'm looking at android at the moment here, I have a list view which has cells with context actions. I would like to dismiss the actions when the list is either refreshed or the item selected is...

View Article


Adding padding to Hamburger Menu Icon

We are using the master detail page to implement navigation drawer hamburger menu.Now we are styling the action bar in a native way using a theme. <style name="CustomActionBarTheme"...

View Article

I am unable to access listview.IsPullrefreshEnabled and is refresh in xamarin...

I am unable to access listview.IsPullrefreshEnabled and isrefresh in xamarin forms. i am using ListView properly. Help required

View Article


FreshMVVM: No default constructor exception on PageModel constructor injection

Hey there, getting a missing method exception when trying to create a new page using FreshMVVM. System.MissingMethodException: Default constructor not found for type...

View Article

TapGestureRecognizer not firing for Android

TapGestureRecognizer is working for WinPhone but on Android although the Application Output is showing [ViewRootImpl] ViewPostImeInputStage ACTION_DOWN but the Tapped evenit isn't being called... var...

View Article


SyncFusion DLL for Datagrid not getting loaded.

System.TypeLoadException thrown.Attached the screenshot of the same.Can someone please help?

View Article

Preventing "Sleep mode" - Keeping the app alive

When my app has been startet, it shouldn't be sent to background by display-timeouts or whatever. So I want to deactivate the "Sleep mode" of the phone or tablet by code. Does anybody have some tips...

View Article

ListView dynamic cell height, Grid in cell not measuring correctly

I'm trying to get dynamically sized row heights working on iOS but running into some problems. So far I've tried making a custom listview datasource as well as a subclass of ViewCell that gets the size...

View Article
Browsing all 91519 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>