Quantcast
Browsing all 76418 articles
Browse latest View live

System.MissingMethodException: Default constructor not found for type...

Hi Folks, I created a small project that uses a custom control. I'm trying to run this project and I get the error message: System.MissingMethodException: Default constructor not found for type...

View Article


How to make a translated button clickable?

I'm trying to make a drop-down menu. The way I tried to do this was adding buttons in an AbsoluteLayout and giving them TranslateY in a for loop. The problem is, the buttons are not clickable, and are...

View Article


Image may be NSFW.
Clik here to view.

Toolbar area stays visible when navigating to a page without toolbaritems...

Hi, I'm having some trouble with the toolbar on WinPhone. When navigating from one ContentPage with toolbaritems to another without toolbaritems, the second page shows a black area (where the toolbar...

View Article

Play Services 25 --> results in hundreds of "does not contain a definition...

I'm using a package (Kinvey Android) that requires Google Play Services 25 (all of them). This results in hundreds of errors like "Resource.designer.cs(141,141): Error CS0117:...

View Article

Visual Studio reporting errors (Value cannot be null) since last set of...

Since applying the latest Xamarin updates, Visual Studio is reporting the following error: ERROR: Value cannot be null. Parameter name: project Unfortunately, with so much software auto-updating these...

View Article


Is it possible to build a multi-language application using Forms?

I have been trying to follow a Microsoft tutorial shown here And have got: <Button x:Uid="Greeting" Text=""/> And a resource file in my PCL with Greeting.Text with value Diary.. But I have...

View Article

Xamarin.Forms and MVVM

Hello, i decided to create a mobile app with xamarin.forms. My goal is to use the mvvm architecture in my xamarin.forms app properly. Is there any sample app which uses this architecture? I prefer to...

View Article

Xamarin.Forms and EntityFramework 7

With the latest release (RC1) of EF7, is it possible to use EF7 with SQLite in a Xamarin.Forms project for iOS, Android, Win 8.1, WinPhone 8.1 and UWP? If so, does anyone have an examples? Is there a...

View Article


Using Entity Framework 7 RC1 with SQlite on Xamarin.Forms

Can Entity Framework 7 RC1 be used with Xamarin.Forms? If so, please provide an demo example with simple CRUD operations. Thanks.

View Article


How to make the screen visible for 20 seconds or more in the Xamarin forms

Hi I have 3 content pages here first.cs second.cs third.cs In First.cs I have following code snippet. Button b=new Button(){ Title="Submit" }; b.clicked+=(){ //Here I would like to call the second page...

View Article

Xamarin Forms localization strings not showing up on Galaxy s3

I'll make this quick. I have a Xamarin Forms app, and I am testing the localization feature on a Galaxy S3 device. In the Emulator, the strings change without issues, both in XAML and code behind, when...

View Article

Xamarin 4 What more can we expect?

Xamarin 4 has been launched with some great new features like iOS Apps in Visual Studio, XIB Launch Screens, tvOS with Xamarin. Are there any other aspects of this release that I can leverage while...

View Article

BindingContext of Buttons within a ListView template

So I'm having a little trouble with Command binding within a ListView template here. This is my XAML code: <ListView ItemsSource="{Binding AvailableExams}" ItemTapped="ItemTapped"...

View Article


Windows 8.1 / Windows phone 8.1 / Windows 10 related issues

Hi I have a published application built on Xamarin.Forms for Android and iOS and unrelated version for Windows Store. Recently I dove into migrating my Windows Store version to Xamarin.Forms. Windows...

View Article

Error Code CS0117: Resource does not contain a definition for Animation - on...

I get this error while updating NuGet package Xamarin.Forms from v1.5.1.6471 to v2.0.0.6490. Why is it occurring? What is the resolution?

View Article


Does Xamarin.Forms support F#?

Does Xamarin.Forms support F#? I do not see Xamarin.Forms projects under F#.

View Article

Hide TableSection header on Android

Passing empty string does the job on iOS new TableSection("") How to do the same for Android?

View Article


File Picker not working

Hello i'm using acr-xamarin-forms to allow user to select file in my app. I'm using following code var device = Resolver.Resolve (); var mediaPicker = DependencyService.Get (); if (mediaPicker == null)...

View Article

Image compression in xamarin.forms

MediaFile result = await mediaPicker.TakePhotoAsync ( new CameraMediaStorageOptions { DefaultCamera = CameraDevice.Rear, }); Image CaptureImage = new Image { HeightRequest = 35, WidthRequest = 35,...

View Article

PPI/DPI of current Device

Hi there How can i get current DPI/PPI of the device, for example iPhone 3 had 193something ppi while iphone 4 had 320 something ppi. Thanks

View Article
Browsing all 76418 articles
Browse latest View live