XF 4: CollectionView GridItemsLayout with bindable Span property
When I try and bind the GridItemsLayout Span property to the ViewModel, it doesn't work. See sample project (open CollectionViewPage from landing page):...
View ArticleVisual Studio 2019 Preview 2: Can't create Windows UWP project using...
Hello, I'm learning to develop both Windows(UWP) and Android app using Xamarin.Forms. When I heard the news that Visual Studio 2019 Preview 2 came to availability, I decided to give it a try. However,...
View ArticleDrag and drop ListView item
Hey all, I'm trying to make a Content View where a person can take an item from a ListView, drag it to an image and trigger an event that will delete the item from the ListView. I've been fishing...
View Articleelement is not of type xamarin.forms.view Error When starting Blank Xaml App
It's began after Xamarin updating After creating Xamarin forms (Blank Xaml App) project in VS2015 I'm trying to start this project in debug mode with out any changes. And, in the time of starting...
View ArticleCamera Plugin.Media.Abstractions.StoreCameraMediaOptions always rotated...
var file = await CrossMedia.Current.TakePhotoAsync(new Plugin.Media.Abstractions.StoreCameraMediaOptions { SaveToAlbum = true, SaveMetaData = true, Directory = "", MaxWidthHeight = 1500,...
View ArticleCannot set some properties of a Label within a different thread (Task.Run) in...
Maybe this doesn't have anything to do with Xamarin, just tesing my understanding of tasks in general I think. I have a task that creates a label among other things and it is in a task so I can keep...
View ArticleDynamic ItemDisplayBinding for Picker.
The Picker has ItemDisplayBinding property to set Itemsource's property name to display by using this "{Binding PropertyA}" syntax. But I have UI conditions that relating with changing property name to...
View ArticleResolve dependency injection
From outside the App - what is the most elegant way to resolve a dependency injection var service = (IMyService) ((PrismApplicationBase) Application.Current).Container.Resolve(typeof(IMyService));
View ArticleCan someone please tell me why my pins are not showing on the map?
I am trying to populate a map with locations obtained from an API but it is proving very problematic. When I create a pin from the code behind it shows fine, but it does not show when I use xaml. I...
View ArticleResolve dependency injection
From outside the App - what is the most elegant way to resolve a dependency injection var service = (IMyService) ((PrismApplicationBase) Application.Current).Container.Resolve(typeof(IMyService));
View ArticleCan Xamarain.Forms design the view of DisplayActionSheet or ListView's...
as Title,if it's possible. How to set these views Color or FontSize,even design those Layout?
View ArticleWebservice call gets abruptly cancelled when app goes to background and comes...
For a registration page , on click of register it calls the rest API to register the user. But after clicking on register if i goes to background and comes to foreground it throws web exception that...
View Article"Set Next Statement" support in Visual Studio for Xamarin Forms projects - Is...
I can't seem to find a Visual Studio setting to enable "Set Next Statement" debugging feature. I've read old posts suggesting it's not supported, is that correct?
View Articlechange color barBackgroundColor from MasterDetailPage
I would like to know if it is possible to change the color of the "barBackgroundColor" of the "navigationPage", what happens is that I have a page where it has a list of colors and when you choose a...
View ArticleDynamically Add ToolbarItems from a button tap
I have a page where I need to display toolbar items only when a button on the screen has been tapped. So far I have the following methods:- private async Task ClearToolBarItems() { var page =...
View ArticleBindable Grid in Xamarin.Forms
Hello! I'm creating a small 2048 clone to practise Xamarin.Forms with MVVM, and I've got a trouble with binding a Row and Column of each square to Grid. Currently I'm using this ItemsControl: https...
View Articlewhy my listview cant scroll till the end of list items? i have 26 items but...
<c:BasePage.Content> <Grid.RowDefinitions> </Grid.RowDefinitions> <ScrollView> <StackLayout> <ListView HorizontalOptions="FillAndExpand" SelectionMode="None"...
View ArticleTap gesture on a stacklayout fires for each of the child views. Is there a...
//I know the code can be more elegant - just for explanation purposes //Showmenu() fires for as many Labels as I put in the stack (Android and iOS). It is a shared project. Forms 3.6.0.293080 for (int...
View ArticleRead value from a Bluetooth Characteristic value
Hi all, I can easily read the Characteristic value from my Xiaomi band 3. The value of current time. I used the LightBlue app to connect to it and can see the Datetime value of this device. From my...
View Article