Button Command Memory Leak
Hello, It seems I faced a memory leak with Button.Command implementation. In my project I have some global(static) commands and bind them to buttons in different views. I found(after a day of...
View ArticleHow do I set the x:Name property of a UI control that I created in code?
I want to create a control at runtime, and then refer to that control in code. I can set other properties of controls that I create, but not Name nor x:Name. I can set the StyleId in code when creating...
View ArticleScrolling ListViews and memory management
Long ago I developed an iOS app that had a scrolling listview. As I recall, when a cell in the scrolling listview went offscreen, it would be destroyed. At the same time, a new cell at the other end of...
View ArticleCan I set multiple styles to an element?
I tried with comma: <ContentPage.Resources> <ResourceDictionary> <Style x:Key="large" TargetType="Label"> <Setter Property="FontSize" Value="Large" /> </Style> <Style...
View ArticleEmbedded databases for Xamarin Forms
Hi, Any one tried an embedded databases for Xamarin Forms applications.. Can you please share the database and what your opinion, prons and cros....
View ArticleTabbedPage 5th to 1th listview autochange position
I have some problem with my xamarin forms app. tabbed page have 5 children if i am go to 5th tab, my first tab in listview change position.(turn start). how can i fix it ?
View ArticleHow to reference a StyleClass from the code-behind page?
This compiles just fine but blows up in the iOS simulator when the view loads: public MyTestPage() { InitializeComponent(); int i = 1; int iLen = 16; for (i = 1; i <= iLen; i++) { Label label =new...
View ArticleIOS Build failed, MT5209 : "Native linking error : framework not found Carbon"
This only happen on osx when i tried to build the ios part of the project, android built just fine. clang : error : linker command failed with exit code 1 (use -v to see invocation) error MT5209 :...
View ArticleApplication package and name change
Hello, I had a app which is on Google Play and AppStore, then new role is required for that app and I continued implementation for that role on the same project. I changed package name on...
View ArticlePaypal.Forms Xamarin cannot serialize PaymentResult
Using Xamarin Forms VS 2017 Paypal.Forms 2.18.3 from @AlejandroRuiz *Linker Behavior => "Link All" When I try to receive a PaymentResult I get the next error: Unhandled Exception:...
View ArticleAuto Size font for button text to fit in single line
Hello All, I have a problem and kind of stuck on this. I had 5 buttons which display at the bottom of the screen. (Android & ios) The default font size is 14. I want to calculate the font size of...
View ArticleGet User Current Latitude and Longitude without any packages.
Hi, I am implementing app where I need user's current latitude and longitude but without using any packages. So is there any way to do that? P.S. I have already tried this package but it didn't work...
View ArticleINotifyPropertyChanged Event for nested Properties
Hi Guys, i have the following situation: OverviewPage.xaml: <Label> <Label.Triggers> <DataTrigger TargetType="Label" Binding="{Binding VehicleState.Tires.TypeSelectedIndex}"...
View ArticleMR.Gestures behaving correctly on Android but not on iOS
Hi all, I have come across a problem and wondered if there was a quick solution or something I'm missing. Basically I have a StackLayout that forms most of the page - I am using its .Tapped event...
View ArticleServing dynamic files to a WebView
Hi, I created a WebView which shows a single page application, which works very well. But I am facing an issue where I want to show an user uploaded image. I have managed to do this so far by injecting...
View ArticleHow to Restrict my application to launch English only Keyboard
How to Restrict my application to launch English only Keyboard for all Entry across the application irrespective of any language set on the phone?
View ArticleBind dynamic data to picker inside list view
Hi Guys, I am trying to bind data to picker inside the list view but i am not able to bind the things to it. currently i am trying static one. Can any please help me. <ListView x:Name="lsttest">...
View Articlehow can i get notified when static property is changed
how can i get notified when static property is changed
View ArticleBindingCondition
Given the following code fragment, would xamarin.forms support the second and the third condition? <MultiTrigger.Conditions> <BindingCondition Binding="{Binding AllowDataSubmission}"...
View Article