InitializeComponent does not exist in the current context error
Hi, The error CS0103 (The name 'InitializeComponent' does not exist in the current context) has started appearing after doing a build of our Xamarin Forms solution. The build, however, appears to have...
View ArticleErrors in changing FormsApplicationActivity to FormsAppCompatActivity.
When changing MainAcivity to FormsAppCompatActivity, TabLayoutResource&ToolbarResource should be added. But Layout folder is not avaible under resources.
View ArticleThe "LinkAssemblies" task failed unexpectedly.
I´m trying to reduce the APK size to publish in Play Store. I´m using VS 2017 and "Linking" in the Android Options I tried with Sdk and User Assemblies and Sdk Assemblies Only either are not working. I...
View ArticleAndroid IOnMapReadyCallback Forms 2.3.4
My custom renderer is no longer work with Xamarin Forms 2.3.4. The behavior I am seeing is that none of pins are being drawn on the map if I provide a method for the IOnMapReadyCallback method. It...
View ArticleFirebase Authentication Support in Xamarin forms
Is there any support of Firebase authentication for Xamarin Forms? Please help
View ArticleSetting column span for button variable
I have created a grid in my Xamarin application which has 4 rows and 24 columns. I have 12 buttons that use the same properties, so to save myself creating all 12 separately, I have done it like this...
View ArticleMy app crashes when adding StyleId to Image
Hi, I have this image in my app: <Image Source="{Binding banner_image}" ClassId="{Binding banner_category}" StyleId="{Binding banner_reference}" Aspect="AspectFill">...
View ArticleMake a never end background service which runs even app is closed.
I am working to achieve a scenario in which i need a background service which runs even app is closed. Work of this service is to access local application Db and sync data with API. If service is...
View ArticleXamarin.Forms: how to "center" vertically a label on itself for Android
I try to use a FontIcon to show an item through a customized Label. As the icon is wider than it is tall, I would like to adjust the height and the vertical alignement. However, I encounter a strange...
View ArticleTextCell Font-Size
I need to change the textCell fontSize and use css file: #cellaListView{ font-size:larger; } in xaml i have: <ListView x:Name="listaDati" StyleId="listView" > <ListView.ItemTemplate>...
View ArticleDoes not apply styles in Debug
I'm applying a style to a page; but when I run the application on my device it does not apply the styles or the placement to a label; I'm running the application in Debug, but if you ran the Release...
View ArticleIntentFilter on Android is not working for my file type
Hi, I would like to share file from eg. Downloads folder in FileManager, to my application. My application uses files with my custom file extension: ".topo". I would like to open that but can't. My...
View Articlehow to extent the splash screen time without adding new view controller.....
I would like to extent my launch screen duration, without adding a new view controller......any shortcut o simple way to do dat??
View ArticleDisplayActionSheet issues in Android
I am using a Display Action Sheet in my code. When I am trying to run on Android, the execution stops after the await sentence and the disassembly window shows up. Only after I press the continue...
View ArticleHow to create alert window with list and search option for android and ios in...
Hi guys I want alert window with dynamic list and search option for list. For this requirement i searched over internet but i didn't get solution for it. Can you please highlight me how to achieve it?
View ArticleIcon image on Toolbar item in xamarin Forms
Hi, I'm creating all forms UI with the code using the Shared project. I want to add the icon image to the toolbar item. Can anyone guide me how can I achieve the same ? I could not find a suitable...
View ArticleNavigation.PushAync() method issue on Lollipop devices in Xamarin.Forms ?
Hi everyone, I am facing some issues in my Xamarin.Forms application with Navigation.PushAsync() method but only on android lollipop devices. The app perfectly works on pre lollipop and post lollipop...
View ArticleBinding reset to default value when changed with Trigger
I have an entry with amounts where i would like to present it with two decimals when its not focused and as-is when focused. I tried to do this using Triggers on my Entry. It is not working. For some...
View ArticleGrouped Listview overlapping with bottom navigation bar for iOS?
I have a bottom navigation bar (Tabbed Page) with four 4 tabs, the 4th tab has navigation page which will navigate to other pages. The 4th tab is having grouped listview which will navigate to other...
View ArticleXamarin 3.1
After updating to xamarin forms 3.1 , i am unable to read the controls in code behind. Error: system.invalidoperationexception this element is not in a name scope the same xaml was working fine in...
View Article