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

DateTime picker in TableView

I'm trying to convert a MonoTouch.Dialog application to cross platform Xamarin.Forms. From what I have seen of Xamarin.Forms so far, the dialog view controller in a MonoTouch.Dialog rendered what is...

View Article


use "SmoothScrollToPositionFromTop" xamarin.forms android

I need to make a ListView scrollTo xamarin.forms android. How I can access the action "SmoothScrollToPositionFromTop" from "Android.Widget.ListView" from a "ExportRenderer"? I've tried the following...

View Article


Crash on Android when entry bound to integer

In my app, I have an entry that is bound to an Integer. Everything works properly, unless my entry contains a 0 and I try to type another number. As soon as the second number is typed, the app crash. I...

View Article

DependencyService does not work with iOS

Hello I use DependencyService to access platform specific features from a PCL library with Xamarin Forms. It works perfectly with Android and Windows Phone devices, but crashes on the dependency...

View Article

Notification manager & Forms

In my android project, I have written code to add notification to Android's notification area. It works. However, on click on the notification, I want to show a page which is part of the Forms project....

View Article


Data binding error handling?

What's a pattern for handling errors with data binding, for example, when user input can't be converted to model's required type? I can't find anything in IValueConverter that could help identify...

View Article

Layout question - is there a component similar to Flash Builder's Spacer?

In flash builder there is a great component, for working with layouts, called the Spacer. Is there a similar component in Xamarin Forms? A typical useage of Spacer would be: I have a horizontal layout...

View Article

iOS custom UIViewControllers

Background: We have a cross platform MVVM framework (similar to MvvMCross), which contains it's own navigation. For the windows and android platforms, XF works just fine, because we can define our own...

View Article


Layout Renderer Android

I 'm trying to create an Android Renderer for a StackLayout because I want to add a background with border and other things. Is it possible? What is the class that I have to inherit from? Regards

View Article


[Android] Button CustomRenderer OnClick issue

Hello everyone, after I wrote my own custom renderer for a Button my OnClick events are not triggering anymore. Does anyone had the same problem before or know what I could try? public class...

View Article

Image may be NSFW.
Clik here to view.

Can't load type from xmlns - Custom Control

OK, I'm sure I'm doing something silly here. I created a new custom control: namespace MyVote.UI.Droid.Controls { public class ImageButton : Button { public string Image { get; set; } } } I also...

View Article

Can't navigate to declaration on Xamarin classes

Whenever I attempt to go to declaration on a Xamarin Forms class (e.g. Button, Label, TapGestureRecognizer, Page), I always get a dialog saying an error occurred, and if I view details it says...

View Article

Image may be NSFW.
Clik here to view.

How to preload Images with ImageSource.FromFile?

This is tested with Android + emulator. Hi everyone, I have a image on my page that gets changed every time a user hits a button. The images are in my Resources/drawable folder and get loaded with...

View Article


TextCell - Text and Detail are side-by-side, not stacked

All the samples show the text cell as being Text on top, with Detail underneath in smaller text (Subtitle style in iOS) However, when I create a TextCell, the Detail is appearing to the right of the...

View Article

How to Navigate Form Xamarin.Forms Page to an Android Activity on button...

I was created a new project using Xamarin.Forms(Portable). When I run (projectName.Android) it initially displays the page from (projectName(portable)) i.e., Runs the GetMainPage() method from App...

View Article


Image may be NSFW.
Clik here to view.

How do I use IValueConverters?

I have created a converter which looks like this: public class SecondsToHoursMinutesValueConverter : IValueConverter { public object Convert(object value, Type targetType, object parameter, CultureInfo...

View Article

expandablelistview.itemclick does not get fired

I have been working on this for days now. I set android:focusableInTouchMode="false" but it didn't help. Here is my code: Main Activity: `using System; using System.IO; using System.Collections; using...

View Article


Ideas for implementingFloating button above a scrollview? ala FB Rooms or...

Similar to what you see in the new Gmail App (5.0) & Facebook Rooms?

View Article

How to capture an event in Xamarin.Forms that was fired from an Android...

I have written an Android Service (using Xamarin) that fires a DataUpdated event, I would like to display the argument that was passed in the DataUpdated event on a Xamarin Form. I have tried to use a...

View Article

How to change text/button color of the NavigationPage

Hi, Anybody knows how to change the text/button color for the NavigationPage control. See: http://take.ms/BFzyc Thanks, Alex

View Article
Browsing all 58056 articles
Browse latest View live


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