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

How to show Confirmation Alert dialog before popping a Page in Xamarin.Forms ?

I am developing a cross platform application using Xamarin.Forms. I have two pages page1 and page2. When moving from page2 to page1, using Navigation.PopAsync, I need to show an alert dialog to let the...

View Article


MVVM ListView MenuItem ObservableCollection Delete Item

Hi, I need to delete an item in my listview but it doesn't work Here, xaml : <ListView Grid.Row="4" Grid.ColumnSpan="3" ItemsSource="{Binding PaymentLines}" RowHeight="70" x:Name="items">...

View Article


Hot reload coming to Xamarin Forms

https://devblogs.microsoft.com/xamarin/xaml-hot-reload/ Pretty awesome they've listened to community feedback

View Article

Pre-Release: Xamarin.Forms 4.2.0-pre1

We've published the 4.2.0-pre1 pre-release of Xamarin.Forms on NuGet; be sure to include pre-releases in your NuGet Package Manager in order to make the package visible. If you encounter any issues or...

View Article

How to load image with imgcrop:ImageCropView?

I am trying to upload image using the DLToolkit.Forms.Controls.ImageCropView , but it is not load nothing Code: <imgcrop:ImageCropView WidthRequest="100" HeightRequest="100" x:Name="cropView"...

View Article


I cant seem to deploy a local build on my iPhone with VS 2019

I recently downloaded and installed Visual Studio 2019 to run my Xamarin Forms project. I added my apple user to the Visual Studio options and downloaded all the provision profiles. I also right...

View Article

Download new Xamarin CSS at runtime

I see that Xamarin using CSS to style the pages uses an EmbeddedResource. I want a default CSS file and then download a file at Load time to style the app based on Client CSS. Is it possible either to...

View Article

Xam.Plugins.Notifier: Android Tap in Xamarin.Forms.Shell

Using Xam.Plugins.Notifier for Local Notifications I am able to show a notification in Android. However, when I tap the notification, it reloads the application. Similar to how a remote notification...

View Article


Having trouble getting BackgroundFetch to work in Xamarin Forms iOS.

Hi, I've been working on this for days now. I run our XF iOS app on a real device in debug mode. After it starts up, I press Home and the app goes to sleep - a debug statement in OnSleep tells me it...

View Article


How to Authenticate an user using ADFS in xamarin forms?

Hi All, I am new to xamarin forms. I need to authenticate the users using ADFS. Please guide me what are all prerequisite needed and how to achieve this ?

View Article

horizontal listview cant get full width it shrink, any solution?

<ListView.ItemTemplate> </Frame> </ViewCell> </DataTemplate> </ListView.ItemTemplate> </ListView> </Grid> this is a list view inside a grid, there in the...

View Article

How can I set and get a selected value in my custom picker? The value is not...

How can I get the selected item of my custom picker? It always goes back to the initial state I tried in several ways and I only had to question. public class MyDelegate : UIPickerViewDelegate {...

View Article

Problems when collapsing listview element in iOS

Hello, I have a screen that has sectors that must collapse, for this I use a listview and within a grid with the elements that will be repeated, I also have a button that executes the action of...

View Article


ListView gets refreshed only after I scroll after updating an item

Hello, I am creating a shopping cart app and I am stuck in between with Listview refresh. I have a view cell in my list view and it has a Image button. When I click on the image button based on the...

View Article

Image may be NSFW.
Clik here to view.

Where did Android SDK go?

I updated Visual Studio 2017 on Windows today, from v15.9.13 to v15.9.14 and now the Android tools are gone: How can i get them back? Without those tools I can't archive my Android app. Thanks!

View Article


Passing values between 2 opened pages

Hey, so in my application I am using Master and Detail page. When Detail page opens I will go to the Master (slides from the left side) and I check checkbox. I want that value pass to my Detail page....

View Article

How to change the name of app(In the screen, under the icon)

Hi guys, I am building an app in Xamarin.Forms. I want to change the name of app, both iOS and Android. I tried to change the information in mainactivity.cs and Androidmanifest. However it is not...

View Article


Firing method in the View when a property in the ViewModel changes

Hi all, As the title says I would like to call a method in my View when a property in my ViewModel changes. I was wondering if this is possible to do it by using the INotifyPropertyChanged interface or...

View Article

Image may be NSFW.
Clik here to view.

How to set vertical align icon of the selected tab in a tabbedpage

Hi everyone, the icon of the selected tab aligns top vertically. How to set that alignment to center like others unselected tabs? I am using FreshMVVM Framework and this is the code: var...

View Article

MapRenderer OnMapReady event equivalent for iOS ?

I need an equivalent event for an iOS renderer: public class MyMapRenderer : Xamarin.Forms.Maps.Android.MapRenderer { ... protected override void OnMapReady(GoogleMap map) { base.OnMapReady(map); //...

View Article
Browsing all 89864 articles
Browse latest View live