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

MacOS null reference crash on app start

I'm trying out XF for MacOS just to get an idea about how well it might work for me in the future. I'm stuck on an issue though just trying to get it to run that I don't know how to work around. I...

View Article


How to mix the pinch and pan gesture for image control together?

I try to mix the pinch and pan gesture code (https://developer.xamarin.com/samples/xamarin-forms/WorkingWithGestures/PinchGesture/ and...

View Article


Disable scroll in ListView

Hi! Is it possible to disable scrolling in a ListView if you have only a few items? Thanks // Johan

View Article

CSS Styling of xamarin forms apps

Is CSS only for Xamarin forms .Net Standard Project or both .Net Standard and Shared Projects.

View Article

How to use HandleCellPropertyChanged in TextCellRenderer

I am writing extended text-cell renderer. I have called HandlePropertyChanged of TextCellRenderer. ctvcell.Cell = textCell; // where ctvcell is CellTableViewCell and textCell is TextCell...

View Article


Bluetooth Thermal Printer

I'm trying to connect to a Bluetooth thermal Printer using Xamarin forms, and not platform specific. I try to use Binding Jar, but failed to connect and send data to printer.. Anyone have idea on how...

View Article

Image may be NSFW.
Clik here to view.

Pull/swipe to dismiss modal dialog implementation in Xamarin Forms (iOS and...

I'm trying to achieve the "drag down to dismiss" gesture on a modal dialog in Xamarin forms, just like this: . I'm not sure how to go about this, I'm assuming I'll have to have a custom renderer on...

View Article

How to log unhandled exception

I have following code in my Xamarin Forms project. I used SentryErrorLog to log exception and saved exception message to pp device locally. I have tested following code and the logging is successful....

View Article


Open File - Android 8 or higher - without FileProvider

So I'm with a problem that's been a really annoying problem. So i want to open a file that I recived from a web service, and i already can, in lower andorid version's. I see that to fix the problem I...

View Article


How to bind AbsoluteLayout.LayoutBounds in XAML

I am trying to bind AbsoluteLayout.LayoutBounds in XAML, but i'm not sure exactly how to get it to work. Anyone know how to accomplish this? Here is my code so far: <AbsoluteLayout> <BoxView...

View Article

MobileServiceClient intermittent Precondition failed error

I have a Xamarin forms app with uses MobileServiceClient for Azure offline sync. I am intermittently getting a MobileServciePushFailedException which just gives me a 412 preconditon failed when I try...

View Article

How to avoid the app icons to be rounded after installation on device

Currently in the Xamarin Forms application, For Android version, I have added the app icons in mipmap folders. On deploying the app in my device the app icons are becoming rounded. This is not an issue...

View Article

How to download and install apk in Xamarin Forms in code?

Hi, could anybody provide really working example (link to example) how to download and install apk programmatically on Xamarin Forms platform. There are lot of questions without answers about that on...

View Article


Unable to update the .net framework to 4.6 in a portable class library

My Xamarin app needs to have the common class library updated from .net framework 4.5 to 4.6, however everytime I update it to 4.6, it automatically turns itself back to 4.5. Its fine when I'm only...

View Article

How to update app icon badge icon when app is closed

I want to update the app icon badge count whenever there are any updates at server end. The server-end updates can be fetched by an api. How to hit that api and how to update the badge count when the...

View Article


Have a framework for connecting clients and servers?

My project need to connecting client and servers,i want find a famework to achieves. There have a framework for connecting clients and servers? Thank Our project requires OAuth ,GET & POST data,...

View Article

Master Detail Page

Am not able navigate to detail page when I click on Same item once again . InitializeComponent(); HamburgerList.ItemsSource = GetMenuList(); var homePage = App.Mg; Detail = new...

View Article


Count duplicate sentences in source

How can I Count duplicate phrases number in the source (Same sentences repeated) ex : in the source (hi developers hi developers hi developers) the answer is =3

View Article

Image may be NSFW.
Clik here to view.

Child of RelativeLayout not using the current height of parent - XAML

Hello, I want a Page with A title -height adapt depending on content A RelativeLayout : -Height : taking whole screen, less the place used by the title -Stuff inside Relativelayout So here is my code :...

View Article

How to use SQLite in a Shared Project for Android 8.0 (API Level 26)?

For over a year now I've been using the SQLite.cs and SQLiteAsync.cs classes in my xamarin.forms shared project with no issues. Note that I just have these two classes in my project, I don't have any...

View Article
Browsing all 77050 articles
Browse latest View live


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