How to implement ImageSharp in Xamarin.Forms for iOS
The following code is throwing a null reference error: Image<SixLabors.ImageSharp.PixelFormats.Rgba32> myThumbnail = SixLabors.ImageSharp.Image.Load(myBytes); This error does not occur when...
View ArticleDependencyService.Get() returns null; Only 1 platform installed.
I only have the iOS platform on my Xamarin.Forms project, no Android or WinForms. Everything I have read about the DependencyService is that it requires you to register the implementation of the...
View ArticleHow to get a reference from the listview using DataTemplate?
I have a basic ListView that uses a DataTemplateSelector <ListView **x:Name="listView"** ItemsSource="{Binding PostDb}" ItemSelected="ListView_OnItemSelected" ItemTemplate="{StaticResource...
View ArticleSame Images Load different inside Listview
Hey Guys, I have an issue with presenting Images inside a Listview. The exact same Images are displayed in different sizes. They are always inside a Viewcell. I implemented an Infinite-Scrolling...
View ArticleHow to fix SQL Exception happening only in android?
I'm using xamarin forms to develop a cross-platform app. As part of my app, I have a login page where the user enters his credentials and gets authenticated. I'm using entity framework core and I'm...
View ArticlePublishing issue for Xamarin.Forms app: java.lang.IllegalStateException:...
I have Xamarin.Forms app in Google Play, I have brand new issue in pre-lunch report since I updated to the latest xamarin.forms and xamarin.android packages recently: when Google Play runs pre-launch...
View ArticleBluetooth Discovery and Pairing
Is it possible to scan and discover unpaired devices (classic bluetooth devices) from a xamarin forms app? I'm beginning to believe the device must be paired via iOS settings first. Since I don't see...
View ArticleNewbe question - Controlling listview row height
Hi, Some advise appreciated. I want to list items that are for sale on a mobile app using Xamarin. The data for each item includes a description, a cost and some brief text. In an ideal world I would...
View ArticleHow do I set the maximum date of the date picker to the last day of the...
How do I set the maximum date of the date picker to the last day of the current month? It needs to automatically change to the last day of the next month as well when a month passes
View ArticleError when deploy to real device but Simulator can run well
Can't resolve the reference 'System.Void Xamarin.Forms.Log::Warning(System.String,System.String)', referenced from the method 'System.Void Xamarin.Forms.Pages.BaseDataSource/d__22::MoveNext()' in...
View ArticleNavigation Best Practice?
Hey all, I am currently working on a cross platform app and need some advice as to the best practice when handling navigation pages. Currently I have a login/sign in page where if a successful login...
View ArticleShowCaseView for Crossplatform?
I'm trying to find a ShowCaseView for cross platform but can only find it for ios and android seperately. I really need this as I need to make a mini tutorial so when the user opens up for the first...
View ArticleXamarin.Forms TabbedPage - Capturing the tab click event (no page change)
Experts, I was able to extend the Xamarin.Forms TabbedPage class to add an event that is triggered when tabs change ā so great. Now Iād like to be able to capture the tab click event that occurs when...
View ArticleSlideOverKit - Cannot access a disposed object
I'm getting this error when I show my menu with the code: protected override void OnAppearing() { base.OnAppearing(); MessagingCenter.Subscribe<EvacuationPageModel>(this,...
View ArticleHow to make the absolute layout height dynamic in xamarin forms?
I have a view where the delete tab is not coming properly. My delete tab should have dynamic size it should fill the Tiles properly. For that height of the tab should be dynamic. But I don't know how...
View ArticleHow to set OffscreenPageLimit? Xamarin Forms using Shell
I need to set OffscreenPageLimit to a higher number in android, is there a way to do this with Shell? Thanks!
View ArticleRepository Pattern with LiteDb / Pattern improvement
I use LiteDb to store data, I have this generic class. public class LiteDBAccessGeneric<T> { protected LiteCollection<T> _collection; private T _object; LiteDbConnection dbConnection =...
View ArticleTemplatePage - Binding x:Reference
Hello, I wanted to share 2 things that makes me waste a bit of time : 1) TemplatePage - Navigating to new page with Prism If you ever create a custom template for a page, you might avoid using a...
View ArticleBest way to push files (i.e. pdf) to app from server
My idea is to use the silent push notifications to tell the app that it should download a specific file. But is there another and better way of doing this? Like using two-way communication i.e....
View ArticleCreating event in Calendar issue
I have created an Xamarin Forms app targeting Android. When the user enters an input date and clicking on save button, then an event will be stored in phone's calendar. This functionality is working...
View Article