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

How to get an original image size?

Hi! I have the very basic case, but can't find elegant solution: need to know original image size for layout. But after loading an image to Image view I get -1 value for its width and height. Here's a...

View Article


Add event to native calendar crossplatform

Dear readers, i have a question how do i add a event to the native calendar crossplatform i tried a github project but its not building in my current project....

View Article


Exceeded Retry Count of 10

I have updated to the latest Xamarin.Forms. I am using Visual Studio 2013. Since I updated to the latest Xamarin for Visual Studio this morning, I am getting these issues all of the time in Windows...

View Article

Explicit interface implementation for DrawerLayout

Heya, I want to get notified on drawer state changes (using Forms 1.5.1 AppCompat on Android). Therefore I need to reimplement the IDrawerListener on my custom renderer and implement the method: class...

View Article

Rollback of Forms versions

I am keen to try out newer versions of forms e.g. 1.5.2-pre1 but I would like to roll back if my app breaks. Is this possible and how would I do it? Thanks

View Article


[Material] how to gain access to `Toolbar` from custom renderer?

Based on @TheRealJasonSmith's gist on how to add Material design to your Forms.Android app, I've implemented the "Toolbar" instead of the "ActionBar". I'm wondering how I might go about getting access...

View Article

How to integrate social platform features in Xamarin.Forms app?

Hello, I'm working on a Xamarin.Forms application in combination with Azure Mobile Services. I'm able to get auth token using azure's Identity feature using which I've login working for facebook,...

View Article

ViewModel for severel Pages like a Walktrough (CarouselPage) on the start of...

Hello together, i want to implement a ViewModel which collect data in a Model from 3 pages in a CarouselPage. On each Page the user selects something and on the last page the user can push the start...

View Article


Xamarin.Forms.WebView not loading URL ?

public class WebPage : ContentPage { public WebPage () { var browser = new WebView(); browser.Source = "http://Xamarin.com"; Content = browser; } } I tried the above coding, working fine. But when I...

View Article


Listview on iOS 9 not filling screen width - issue with custom ViewCell

In iOS8 a simple Listview would have separator lines that filled the width (especially in landscape mode) In iOS9 the Listview separator lines no longer fill the full width on a landscape iPad mini....

View Article

Need to send a message from AppDelegate to view model in PCL . Please HELP!!!

I have to send a message to the view model in PCL to log an exception when I catch unhandled exception in Appdelegate. I am not able to send messages to the view model.. Running into compilation errors...

View Article

Need to send a message from AppDelegate to view model in PCL . Please HELP!!!

I have to send a message to the view model in PCL to log an exception when I catch unhandled exception in Appdelegate. I am not able to send messages to the view model.. Running into compilation errors...

View Article

NavigationPage BarTextColor is not working in android 5.0

I set the BarTextColor at NavigationPage. Its working on android 4.0. But the color is not changing when install on android 5.o and above. My code is as follow: NavigationPage nav = new...

View Article


Set column span by using Grid.Children.Add from source code

I have the following source code for setting up a Xamarin.Forms.Grid control on my page. I will like the first 3 rows to expand both columns. The code sample in the online documentation does not really...

View Article

Xamarin.Forms.Maps Locale/Languages

I need my maps to match the language in the app but I can't find a way to set a locale/language on the maps control. Pointers? thanks!

View Article


HTML5 Javascript and CSS files inside Xamarin forms

I am writing a native cross platform application using Xamarin forms. But i need to have one page with a Web view to render an existing HTML5 page even thought other parts of the app are native.I have...

View Article

Image may be NSFW.
Clik here to view.

ViewExtensions.TranslateTo seems to have a delay between invocation and...

I am using ViewExtensions.TranslateTo for a drag gesture. It seems that there is a delay between the method invocation and the actual animation when running on Android. The Android projects are set for...

View Article


Dynamic ListView row height not working on iOS in v1.4?

According to the Xamarin ListView documentation, if I set HasUnevenRows, all will be well with dynamic row heights. In reality, it works fine on Android, but does not work at all on iOS. In my...

View Article

Which is the best method to add logger methods to Xamarin.Forms app?

The question is, I hope, clear. I have an App and I would like to write to a text file some log string, for example when the app throw an exception. There is a PCL solution? Or Insight is the best...

View Article

Tabbed Page: (Android) Tabs in Landscape NOT as Dropdown menu

Hello guys, I searched a lot on Google and in this forum, but I didn't found anything. I work with xamarin.forms. In GetMainPage() I create a TabbedPage. Then I add some children which are Content...

View Article
Browsing all 91519 articles
Browse latest View live


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