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

Can we animate when a bound property changes?

I am currently binding a label's opacity (could also be done with visibility) to the view model's "IsInvalid" bool property like this... invalidLabel.SetBinding<LoginViewModel>...

View Article


How to restore the navigation stack after page suspend / resume in Xamarin.Forms

Hey Guys, I'm just getting used to Xamarin.Forms and cant seem to find a standard way of restoring the navigation stack after a suspend / restore (like when the device gets rotated). Using either the...

View Article


Open File

How do you open a file in and read JSON in Xamarin Forms? This is how I save the file: //Serialize var jsonSerializerSettings = new Newtonsoft.Json.JsonSerializerSettings() { PreserveReferencesHandling...

View Article

Xamarin.Forms.Picker Selected Item Marking

Does anyone know how to put a check mark next to the selected item when showing the list? The other tool I was using put a checkmark to the left of the selected item.

View Article

Fix for ListView not recalculating it's layout after ItemsSource changes

From what I can gather from the outside there seems to have been a design decision that a ListView would not need to recalculate it's layout after initial creation. This decision has led to a number of...

View Article


Image may be NSFW.
Clik here to view.

Weird rendering in release mode after SDK update

I updated my Android SDKs recently and when I deploy my app to the emulator or device in release mode I get these weird black edges around things that I click. Also bizarre things with the slider.

View Article

allowsInlineMediaPlayback in Xamarin Forms Webview

Hi, I'm trying to display videos for playback inside a webview, however at the moment it looks like allowsInlineMediaPlayback must be disabled in xamarin forms webviews as they won't play inline - they...

View Article

Xamarin.Form can not show the View

I add a WebView in StackLayout , and binding WebView source to a HtmlWebViewSource HtmlSource and a html string html ,let the HtmlSource.Html = html; but the WebView is not show,if I rotate the photo...

View Article


Change button view

Hello, Is there a way to replace / override the view of a button by a gridlayout to add a label and images into this button? Thanks a lot

View Article


Integrating Tumblr

Hi, I want to integrate common social site in my app(iOS & Android) like Facebook,Google Plus, Pinterest, Linkedin and Tumblr. I have no idea about how to integrate tumblr. Is there any sample for...

View Article

Problem creating Custom Renderer

Good Morning, I have a problem and I don't know how to solve it. I am working with Custom Renderers in a Xamarin Form Project with the target to modify the behavior of a ScrollView: public class...

View Article

How to intercept the request that an WebView does on all platforms?

I'm making use of an API. I authenticate via that API with an access token that I send into the header. Now when I try to load some content into an HtmlWebViewSource, for instance an image, there is...

View Article

How to resolve the NavigationProxy.set_inner() exception?

In my implementation, I'm using a MasterDetailPage, but when I'm instantiating this page, I get this error: " at Xamarin.Forms.NavigationProxy.set_Inner (INavigation value) [0x00000] in :0 \n at...

View Article


iOS TabbedRenderer TabBarController always null

I've noticed that the TabBarController property of the iOS TabbedRenderer always returns null. However, the ViewController property is valid, and I can cast it to be (UITabBarController) and access the...

View Article

Background Color

I ended up using the generator here: http://jgilfelt.github.com/android-actionbarstylegenerator/ My background color in my android app is a light gray and I want it to be pure white "FFFFFF". How do I...

View Article


Could not install package 'RestSharp 104.5.0'

When trying to add a RestSharp, I am getting the following error. Could not install package 'RestSharp 104.5.0'. You are trying to install this package into a project that targets...

View Article

Image exception

Hi, does anyone have an idea why i getting this exception? Message: System.AggregateExceptionA Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property....

View Article


Circle mask image view

Hello. I'm learning xamarin forms. But i don't have many experience in Xamarin forms. Now I'm going to make the circle mask image view. Attached image. I hope to help me kindly. Thanks

View Article

Only a single Cancel() call is supported at a time exception on ImageCell.

I am making an application where I populate a ListView with ImageCell's and in my ViewModel I have a property called PosterUrl, this is bound to the ImageCell's ImageSourceProperty like:...

View Article

How to disable Highlight on listview in xamarin.forms

Hi all, I'm working with xamarin forms and xaml, and I'm trying to create an application that store a list of product. I put my list of product in a listView. this work fine. Here is my xaml `...

View Article
Browsing all 58056 articles
Browse latest View live


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