How to implement localization in the latest 2017 VS without using PCL?
Hello In previous projects I used the resx/PCL approach to implement localization in my Xamarin.forms solutions. As of the update to VS, this has been deemed deprecated and the information I find...
View ArticleiOS Map Memory Leaks
I'm running the latest version for Forms and iOS, and I am seeing VKMapView crashes occurring on iOS when navigating between pages with Map controls on them. Anyone else seeing this behavior? If so,...
View ArticleRounded/Circle Button with FontIcon: what is the better way?
I try to create a Rounded/Circle Button that can display font icons. As I already use Iconize in my project, I tried to create the Rounded/Circle Button from the existing IconButton. I first tried...
View ArticleiOS Remove ListView Animations (Add & Update Rows)
How can i remove the add/update rows animation from a listview in iOS? In my custom ListViewRenderer i can access UITableViewRowAnimation, since the base ListViewRenderer has them: public class...
View ArticleSystem.Reflection.TargetInvocationException: Exception has been thrown by the...
Hi I got this error when i navigate to a page from a list view in xamarin forms . I can't find the actual problem can any one help he to find where the problem is happening from this report . am using...
View ArticleAndroid accessibility - adjusting control sizes to account for increased font...
On Android, it's possible for the user to set a larger font for accessibility reasons. Discussions like this one go into some details on how/whether the named or fixed (number) sizes are affected by...
View ArticleContext is obsolete as of version 2.5
I updated my project to Xamarin forms 2.5. When I use Xamarin.Forms I get warning: Context is obsolete as of version 2.5. Please use a local context instead How use local context instead?
View ArticleScaling images and drawings based on DPI
I'm having a lot of trouble scaling images and SkiaSharp drawings on different Android devices. I've searched everywhere for guides and how to's but I'm probably more confused than I was before. The...
View ArticleXaml does not 'see' custom viewcell
I created a separate .NET standard project. Called My.Controls (assembly name and namespace) I added a class called MessageCell that inherits from ViewCell: namespace My.Controls { public class...
View Articleread image from mysql
Hi, I'm a new developer and Ineed to know How I get image from mysql and show at image component. follow my code. foreach (var s in _ret) { vwbt_classe.Text = s._dss_cls; vwbt_subclasse.Text =...
View ArticleDatepicker: Possible to bind to Nullable date value?
Hi everybody! I have a nullable date field in my object and I want to bind a date picker to it. When the value is null, I would just want to show no value in the picker. Is this possible? I tried...
View ArticleImage filling the container and keeping aspect ratio
In case someone needs this as well, I want to share a simple implementation I made. Unfortunately there’s no way to display the Image filling the container while keeping its aspect ratio without either...
View ArticleBadge Scanner Mobile App using Microsoft PowerApps versus Xamarin.Forms
Hey guys, I did a little experiment last night and created a badge scanner mobile app using PowerApps and then did the same using Xamarin.Forms with only 334 lines of code and 66% shared across iOS and...
View ArticleTarget _BuildApkFastDev fails
Hi, I am using Visual Studio 2017 for Mac Community Version 7.3.3 (build 12) on macOS High Sierra 10.13.3. I have created a Xamarin.Forms 2.5.0.122203 app using a shared project. Minimum Android...
View ArticleSet Transparent Background color of Navigation Bar
Hi , I tried to set the transparent background color of the navigation bar using below code snippet, But I can't able to proceed this. For more info please find the snap
View ArticleMultiDex in Release Mode
Hello. I have an issue with launching my app in Release mode. Looks like I have reached my limit of 65k references, so I have enabled MultiDex for Debug and Release modes. When deploying in Debug mode,...
View ArticleHow to change the MasterDetailPage.MasterBehavior depending on the width
Hello, I write a Xamarin forms application for UWP and try to use an adaptive UI. On a small screen I want the MasterBehavior to be 'popover' and on a large screen it should be 'split'. I registered...
View ArticleAvoiding Obsolete Default Constructor with Android Custom Renderers in 2.5
Can anyone explain how to avoid the obsolete default constructor for android custom renderers in xamarin forms 2.5? An example of a custom renderer from 2.4 [assembly:...
View ArticleMasterBehaviour on UWP is not working correctly.
Hello Everyone, I'm developing an Xamarin.Form application for 3 platforms namely UWP, iOS & Android using MasterDetailPage. I basically trying to get an adaptive UI on masterdetailpage by...
View ArticleWhere is System.Net.Mail?
Dear all, Trying to use SmtpClient and MailMessage here, however, the following situation occurs: 1) when hitting CTRL + . on any of them, it suggests to use System.Net.Mail 2) when accepting the...
View Article