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

XamlC compiles, but throws InvalidCastException: Specified cast is not valid...

Hi, Updated my XF project to 2.0.0.6487 and verified that it's still working. Then I enabled XamlC on the assembly level. Android project builds without issues but dies on my Android 4.3 device in the...

View Article


'Plugin.Iconize.Fonts.FontAwesomeCollection' threw an exception

I'm trying to use the Xam.Pugin.Iconize.FontAwesome nuget package with my xamarin.forms shared app (targeting Android only). The app compiles fine, but when running the app, I get the following...

View Article


How to customize rating bar size in xamarin forms

I used This XFControls plugin to create Rating bar in my app but This bar is too large in phones and i want to customize its size I tried witdth request but it didn't work for me...

View Article

Navigating from Android activity back to forms

I have forms project where I use a custom ContentPage and a PageRenderer based on this code: forums.xamarin.com/discussion/18014/mixing-forms-content-and-native-activity I can navigate to my android...

View Article

Drag Drop support in Xamarin Forms

I am porting a rather rich UI from WinRT to Xamarin.Forms. I have searched the forums and have found that there is no real support for Drag and Drop. In my app I have a grid (students in a class room),...

View Article


Iphone device is not showing in debug list in project.

Hello, I am creating an app for ios and android with help of xamarin.forms. When I am connecting my iphone device with my mac system for debugging the code it is not showing in the debug list. There is...

View Article

How to open a file in a new window?

I'm using the code below in pcl to open a file stored locally: Device.OpenUri(new Uri("file:///folder/file.pdf)); All is good and the file opens but when it opens it replaces my current page, ideally I...

View Article

Trouble with access to xaml-declared objects from code-behind file

After i've created a page design in xaml file, i tried to write some logic and buttons click actions, but when i was trying to access to any object in this page from code-behind file i got error "the...

View Article


Xamarin cannot access disposed object error

i'm working with xamarin.forms, i'm trying to upload video content using MultipartFormDataContent with following code public async Task<bool> SaveNewsItemV1(EditNewsViewInputForMobile input) {...

View Article


how can i find distance between lat and long of maps?

how can i find distance between lat and long of maps? my code displaying polyline like this now i want to find distance between each coordinate.. using System; using System.Collections.Generic; using...

View Article

Usage of page from PCL (.NET Standard) project Xamarin Native Forms project

Hi, In regards to Xamarin Native Forms feature, is there to the the following. I will make an example for Android platform: 1. Use pages from PCL (.NET Standard) project from Xamarin Native Forms...

View Article

Hybrid navigation

Hello, I like Xamarin Forms but I have one doubt. I need to have a splash carousel page that displays 3 carousel pictures at the top and sign in / login text fields and buttons at the bottom. This page...

View Article

Add NuGet Packages is disabled

Hi I created a new .Forms solution. The Add NuGet Packages... menu is disabled for the cross-platform folder. The same menu is enabled for .iOS and .Droid and in other solutions. Everything is up to...

View Article


Flicker/delay happens while navigating to some other page on click of menu...

Hi all, I am using a Master detail Page in my xamarin forms project and its having a few items in slide out menu which opens some other page on their click event. I am using the same approch which is...

View Article

Setting MainPage = NavigationPage during OnStart in Xamarin.Forms display a...

I have a Xamarin Forms Application where I'm setting the MainPage to NavigationPage during OnStart. The NavigationPage is static (kept in memory for reuse). When I press the back button in Android and...

View Article


Potential Proposal: Animation of MainPage Transition

I wanted to discuss this here before submitting a proposal because its a feature I would really like, page transitions, similar to those on a navigation page. But its far from simple to implement and I...

View Article

Is it possible to define height and width in percentage in Xamarin forms?

How we can define height and width in percentage in Xamarin forms so that it can support different screens?

View Article


Listview selectedItem using MVVM and XAML

I am so frustrated that I cannot find one single WORKING example of how to get the selected item from a listview using XAML and MVVM. I have found numerous incomplete examples using different...

View Article

Font Awesome not working in iOS

Hello Guys, I am using font awesome for fonts in application. These fonts are working fine on ios emulator, But when I create .ipa file and install that on iPhone then those fonts are not working....

View Article

Image may be NSFW.
Clik here to view.

Font Awesome Problem

hello i have a weird problem i am using font awesome in my xamarin forms app it is working fine in my android emulator but when i try to run it on iphone emulator it shows question marks instead of the...

View Article
Browsing all 91519 articles
Browse latest View live


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