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

Platform-dependent behaviour supported by renderers?

Is it possible to invoke platform-dependent behaviour on custom controls or pages through the renderer? For example, I want to make a custom ContentPage that has support for a kind of popup...

View Article


Image may be NSFW.
Clik here to view.

Google Play Services breaks the app

Sorry for the double post, friends. This forum here seems to attract more attention. I am new to Xamarim. Just download it couple days ago. I am using the tutorials to get along with the environment as...

View Article


Createviewcontroller causing popup crashes

Hi guys, I have a quick issue. I have been using the following code in my project for example: So i create a page renderer (iOS) and put the following: public override void ViewDidAppear(bool animated)...

View Article

How to deal with "Back"?

I found this http://forums.xamarin.com/discussion/18565/override-cancel-pop-when-hardware-back-button-pressed-using-navigatepage but it doesn't provide any clear answer as to how we are supposed to...

View Article

Label binding only works the first time I set it (?!)

Feels like every trivial task I try to accomplish with Xamarin lately turns out to be a huge time sink. I'm binding to a Label and I'm able to update it through the binding but only the first time. All...

View Article


package creation error.

C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(1423,2): error MSB6004: The specified task executable location...

View Article

Databinding broken with 1.2

Databinding doesn't work anymore.. the last value in collection is just bound however many times there are items in the collection XAML: <?xml version="1.0" encoding="utf-8" ?> <ContentPage...

View Article

Xamarin.Forms 1.2.0 [Un]Released

We have pulled this release, it is no longer listed on nuget.org, there are serious issues that slipped past validation. Go get em on Nuget.org Zip file attached here if for some reason nuget lets you...

View Article


Binding instances can not be reused - after upgrading to 1.2.0

I am getting below exception when navigating between pages after upgrading to 1.2.0. Binding instances can not be reused Same code worked before upgrading to newer version. What's the problem, how to...

View Article


After PopModalAsync Buttons on Main View show first letter only (attached...

Greetings, I have this very strange behavior. protected override async void OnAppearing() { try { var contactsController = new ContactsController(); if (await contactsController.HasLocalContacts()) {...

View Article

ToolbarItem: Name property doesn't work

Already filed a bug on this issue, but may be someone will advice some workaround. Setting Name property of ToolbarItem have no effect after control initialization on iOS (haven't tested on other...

View Article

Changing screens using XAML+MVVM

I'm utilizing the MVVM pattern with XAML and I'm having difficulty figuring how how to change the page(aka add a page to the navigation stack). I know that to use Navigation.PushAsync(Page pageName)...

View Article

Why a Forms app does not honor the UIStatusBarStyle set in plist file, just...

I really like to work with xamarin forms, but when a native platform feature is just not working that can be annoying. If I create a Xamarin iOS app and add these to the plist, I'll get a white...

View Article


Disappointed with v1.2.0

Xamarin Team, v1.2.0 is breaking my app from all sides. v1.1.1 was working fine. See the v1.2.0 announcements thread where several developers are having problems. Please tell me what you are trying to...

View Article

How to bind ToolBarItem to Command of ViewModel?

I tried to add this code to the view model: private Command<object> saveNoteCommand; public Command<object> SaveNoteCommand { get { return saveNoteCommand ?? (new Command<object>...

View Article


REST Sharp

Hi, i try Xamarin.Forms for my first project. I have a problem when i try to include RESTSharp. I get this error: "Could not install package 'RestSharp 104.4.0'. You are trying to install this package...

View Article

Entry width Android

When I use WidthRequest on an entry Field in Android the setting is not used.

View Article


ProgressBar Samples

Hi, my ProgressBar is not correct error: Position 15:4. Property Content is null or is not IEnumerable

View Article

Two way binding for ObservableCollection

We have a view model that contains ObservableCollection property and a custom view that contains bindable property to bind a collection to. What is the best practice to define this with two way binding...

View Article

How to access a control in a page programmatically?

I have a ContentPage as follows: this.Content = new TableView { Intent = TableIntent.Form, Root = new TableRoot (form.Name) { } }; Then I add TableSections with a loop in Root. Each TableSection...

View Article
Browsing all 58056 articles
Browse latest View live