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

Getting Plugin.GoogleClient.Shared.GoogleClientBaseException in android project

I am trying to add GoogleLogin in the application but getting this error {Plugin.GoogleClient.Shared.GoogleClientBaseException: 10: at Plugin.GoogleClient.GoogleClientManager.LoginAsync () [0x000cb] in...

View Article


Validate input using validation properties from the database ( min, max,...

I'm trying to implement input validation in survey's input fields. The surveys are built at runtime, feeding from the database, so static validation, like DataAnnotations, won't do. I tried using the...

View Article


CollectionView change default selected color

Hi, How can i do the custom render for a collection view selected cell like did for a listview ?

View Article

Image may be NSFW.
Clik here to view.

Switch button tint color

Hi If Switch is inside StackLayout with black background, then the background of switch (tint) is not visible. Can someone show how to change or control that color. Have a look at attached for...

View Article

Image may be NSFW.
Clik here to view.

How do you clear selection in CollectionView in multiselect mode?

The ObservableCollection has a list of items with the first item called 'Any', the plan is to clear the other selected items when 'Any' is selected and clear 'Any' when other items are selected.How...

View Article


CollectionView not deselecting

Hi everyone. I decided to try re-implement one of my apps with Xamarin.Forms, and the experience so far has been awesome. However, I have been trying to deselect all items on my CollectionView by...

View Article

CollectionView, Long press and Tap!

Hello, I have this working successfully: https://alexdunn.org/2017/12/27/xamarin-tip-xamarin-forms-long-press-effect/ but selectionchanged in CollectionView not working, any solution?

View Article

Is it possible to detect a long tap on a CollectionView item?

I started using the new CollectionView, but I can't figure out how to detect a long tap (and execute a command) on an item in the CollectionView. So far I've been using the Syncfusion SfListView which...

View Article


Image may be NSFW.
Clik here to view.

ListView with Activity Indicator

Hello, Attached screen shot will help you understand the scenario, I have a welcome page having "Place Order" button and Order Page, on clicking Place Order button order page will be loaded by using...

View Article


Load Image to a Mediafile varidabel using its address image path

Using media plugin we can get and store image to mediafile like this private MediaFile _mediafile; _mediaFile = await CrossMedia.Current.PickPhotoAsync(new PickMediaOptions { }); New the problem is...

View Article

Image may be NSFW.
Clik here to view.

Stylise the page title text

Hi Xamarin Forms 4.8. VS 2019 16.7.0. I am trying to stylise the page title text such as font size and alignment using NavigationPage.TitleView. I am using below code for my page but its not working....

View Article

How do I send an email using Xamarin.Essentials with an attachment from a...

The subject line says it all really: how do I send an email using Xamarin.Essentials.EmailMessage with an attachment from a memory file? I found this code on SO that does it for 'normal' .NET:...

View Article

Image may be NSFW.
Clik here to view.

ListView/CollectionView is not filling the entire Screen on some iOS devices

In some iOS devices, the Listview or CollectionView is not filling the entire screen. without changing anything in the code, it behaves correct on other devices. We had one scenario where in one iPhone...

View Article


Image may be NSFW.
Clik here to view.

net5.0 solution with Xamarin.Forms (iOS, Android) project

Does the current preview of net5.0 (5.0.100-preview.8.20417.9) with Visual Studio 2019 preview (Version 16.8.0 Preview 2.1) supports a solution that contains a C# net5.0 library and a Xamarin.Forms...

View Article

Selecting Picker Item from Objects

Hi All, How do I go about changing the selected item of a Picker when I have bound an object to it, rather than a list of strings? I am still trying to wrap my head around data binding and what not,...

View Article


[VS] Copy existing app, but with different SQlite local DB data

I created beta app for Android with local SQlite DB data. I would like to create copy of this app for production, but with a different SQlite DB data. Same models, but different data source. I don't...

View Article

Video player in Xamarin forms too slow to start buffering/playing

I was experimenting with some nuget package video players in Forms, and I tried the new experimental MediaElement video player the Nuget package Xam.Forms.VideoPlayer which seems to be based on the...

View Article


Page "OnAppearing" event from other page begin called when another page appears

So I have a weird behavior happening on my app (Only tested on Android). I'm using Shell, and when the app loads, the first page of my flyout appears, which is a list of items (ItemsListPage). When I...

View Article

Image may be NSFW.
Clik here to view.

CSS linear gradient is wrong

I use Xamarin.Forms with CSSS and in my CSS I have a linear gradient like so: ^contentpage { background: linear-gradient(180deg, #54816E 4.3%, #E5E9F7 100%); } This was originally exported from Figma,...

View Article

Send Push Notifications to both android and ios using Azure hosted Web Api

Hi, I am new to Web Api's, I have the following WebApi hosted in Azure. I also have all the framework to send push notifications to both android and ios devices. I have a push notification hub in azure...

View Article
Browsing all 77050 articles
Browse latest View live


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