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

Using FreshMVVM what is the best approach for navigating to a tabbed page?

I am currently implementing an app with FreshMVVM. I need to support the following workflow and I have yet to come up with a way to do this without stepping outside of FreshMVVM management of...

View Article


Listview Grouping - IsGroupingEnabled

My question is simple: Which steps do i have to do to activate and deactivate the grouping from a listview at runtime? IsGroupingEnabled = false I have a perfect grouped Listview with its Itemsource...

View Article


How to make phone vibrate in Xamarin Forms

Anyone know how I can make the phone vibrate in Xamarin Forms?

View Article

Invalid number of rows in section

I trying to bind a ListView with an ObservableCollection. It works on both Windows Phone and Android but when running it on iOS I get an exception. The message says:...

View Article

How to make Forms.Maps work on UWP in navigation page?

I have this strange problem in UWP. If I instantiate my mainpage which is having map, as navigation page, the map doesn't show up instead black screen is shown. The map works only if mainpage is normal...

View Article


How to use FlexLayout in a MVVM framework?

I can fill a FlexLayout dynamically with labels from a collection in the code behind like that (labels are wrapped to several rows): foreach (WordItem item in _items) { Label label = new Label { Text =...

View Article

Binding Listview to BindingContext and static viewmodel

I have a scenario where I want to bind a page to its own ViewModel but also have a control in the view that binds to a static class on the previous view. I have the first page that is in the namespace...

View Article

Calling phone and sending email (IOS, Android and UWP)

Hi all, Currently, I am using following code for calling and email features, but it is only working in Android and not working in IOS. Also, I need these features in UWP. For call: string phoneno =...

View Article


How to add third party SDK to xamarin.forms

Hello everybody! I need to create a cross-platform mobile app that will use a third party SDK library. For Android and iOS projects there is a special template like Bindings Library. But I don't see...

View Article


ERROR WITH LATEST NUGET v2.5.0.77 "Xamarin.Forms.Build.Tasks.GetTasksAbi"...

I just got latest stable 2.5.0.77107 and I can't compile anymore [myUser]\packages\xamarin.forms\2.5.0.77107\build\netstandard1.0\Xamarin.Forms.targets(55,3): error MSB4062: The...

View Article

How to add checkbox,radiobutton in xaml file?

Hello all, I am trying to add checkbox and radiobutton in xaml file by adding XLabs.Platform. It showing me error that "package XLabs.Platform 2.0.5782 was restored using .NET framework version=v4.6.1...

View Article

Questions on periodic background tasks for Android and iOS

Hi all, I am planning to start my first Xamarin.Forms project soon. I have been working with UWP for a long time, and the background tasks are pretty awesome. To me, it's not entirely clear if the...

View Article

Kindly Help: Error: AnalyticsListenerImplementor is not abstract and does not...

Hi, My app started throwing this error in my PCL's Android applocation Error: error: AnalyticsListenerImplementor is not abstract and does not override abstract method...

View Article


local Calender using xamarin.forms

How to am create event to device local Calender using xamarin.forms, plz help to me!!!!!!

View Article

Xamarin forms and prism and IEventAggregator instance from model class

How do i get access to the IEventAggregator from a class? using AssetofThings.Events; using Prism.Events; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq;...

View Article


UWP Editor Alignment Issue

In UWP. The expected behavior is that upon setting the Editor text it is display aligned to the top, but no matter what I have tried is always aligned to the bottom. Yes, I have looked into every...

View Article

BottomBar dll

I have integrated Bottom bar dll to shared code. I couldn't change bottom bar icons color or import to color icons. that icons are showing selected is a white color & not selected is a gray color....

View Article


Firebase Cloud Messaging not working on Release mode (FCM)

I'm using the FCM for push notifications. Its perfectly working in Debug mode but not working in Release after I signed with KeyStore.

View Article

NavigationPage without menu

Hi, Could you suggest me why this code produces a page with menu? public App() { var mainPage = new NavigationPage(new NotesListPage()); NavigationPage.SetHasNavigationBar(mainPage, false); MainPage =...

View Article

Image may be NSFW.
Clik here to view.

The name 'InitializeComponent' does not exist in the current context

I Created a brand new Xamarin.forms project with Visual studio 2017, when i try to compile after creating the project, i'm getting the below error, I didn't change single line of code. "Error CS0103...

View Article
Browsing all 91519 articles
Browse latest View live