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

Github clone breaks Xamarin.Forms project

Hey, We're developing a mobile app, our team is growing and we need to have a source control method to commit changes between team members. We've tried using Github and Visual Studio Team Services, but...

View Article


Change contentpage's content depending platform (in XAML)

I have to use something else than ListView for iOS version of my application because ListView is ugly, bugged on iOS (IsVisible doesn't work) and too different from Android. So i was looking for...

View Article


Image may be NSFW.
Clik here to view.

Hi, anyone please help me how to create search bar like below images in page...

View Article

How can I disable landscape mode on mobile and portrait mode on tablet?

Hi. How can I disable landscape mode on mobile and portrait mode on tablet for Android? Yes I know how to disable the landscape or the portrait mode, but unfortunately it will disable on both devices....

View Article

Image may be NSFW.
Clik here to view.

ListView error on UWP work fine on Android and iOS?

As the title. My ListView error on UWP work fine on Android and iOS? Thank you!

View Article


TextChanged event looping round multiple times

I've created an Entry control using xaml as below <Entry x:Name="txtAge" Placeholder="Age" Keyboard="Numeric" TextColor="DarkBlue" PlaceholderColor="DarkBlue" Completed="AgeCompleted"...

View Article

Problem targeting XLabs in UWP, Droid and iOS

Hi, I have a PCL profile 44 targeting UWP, Droid and iOS projects. I tried adding XLabs, but when I try to add a reference to the UWP project, I get the following errors: Type universe cannot resolve...

View Article

What is Best Practice for Styling and Theming?

Hey guys, so a pretty basic question here, I'm overhauling the look of my app from scattered resource dictionaries in different places along with applying specific properties in xaml throughout to...

View Article


Device.OnPlatform (T, T, T)' is obsolete: 'Use switch (RuntimePlatform) instead

I'm following xamarin-forms guide (https://developer.xamarin.com/guides/xamarin-forms/xaml/xaml-basics/xaml_markup_extensions/#The_xStatic_Markup_Extension) and trying out the AppConstants.cs example i...

View Article


Image may be NSFW.
Clik here to view.

Page creation are too slow

Hi all ! The topic question resume the topic pretty well... My app is for a professional use (it won't be on the store or anything), so i can handle some loading time, but in this case it's a little...

View Article

Application resources

Hi guys, I have a question about Application Resources. I should change the style of my application. I tried to follow the instruction on...

View Article

Image may be NSFW.
Clik here to view.

validation part

I dont Know how to set the border color . if the user enter the wrong keyword then the border shows red color on it. let me know if anyone have this solution for this. I have attached sample image...

View Article

This async method lacks 'await' operators and will run asynchronously

Cant figure out how to get rid of the warning, any help appreciated. ICommand refreshCommand; public ICommand RefreshCommand { get { return refreshCommand ?? (refreshCommand = new Command(async ()...

View Article


XAML resources: create color based on another color in the dictionary?

Let's say I have a ResourceDictionary with a color defined: <Color x:Key="MyColor">#000</Color> I need to create another color based on that color, with the alpha channel adjusted. I've...

View Article

MVVM .NET Standard hamburger menu sample

Hello Can someone please provide me with a full working example of a hamburger menu using .NET standard and MVVM pattern? When creating a new Xamarin project in Visual Studio 2017 (15.6.2) there is the...

View Article


Upgrading packages, PCLs to .NET Standard, and my version of Xamarin Forms -...

A bit of background on myself. I am an experienced Xamarin developer (largely native, but my knowledge coupled with understanding WPF has made Xamarin Forms pretty straightforward so far). As for my...

View Article

Task is getting locked while retreiving data in viewmodel

Hi my fellow developers. I have been working on a app for a couple of months now but recently when we started our testing phase i've been noticing some strange task lockups when loading and...

View Article


URL to open the app, if installed?

I have a web app, and when someone inserts a new order, some users have chosen to receive a link to that new order (example: www.myulr/orders/34). Now I also have a Xamarin Forms app (it's a webview...

View Article

How to simulate a incoming call using Xamarin Forms

Hi I want to simulate a incoming call in Xamarin Forms app and capture the answered vs cancelled action by user. I want to initiate the call on a trigger like timer in the background. Please suggest...

View Article

Very first OnAppearing animations doesn't work

The issue is reproduced both on Android and iOS. The application's first content page has animations in the OnAppearing method. When I start the application, it seems like the page's OnAppearing method...

View Article
Browsing all 77050 articles
Browse latest View live


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