Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums

Json configuration file

Hey guys, I'm trying to add to my project a config.json file. I am following the steps indicated in the documentation article about this. https://xamarinhelp.com/configuration-files-xamarin-forms/ The...

View Article


Prism access BindingContext from code behind

Hi, I need to dynamically build TableView from code behind as I can't achieve what I want with ListView (or any other component, complex scenario). I'm trying to access BindingContext after...

View Article


Prism - binding same command in different TabViews

Hi, I've a view which represents one big data object, so to make it more manageable main view contains TabView and in each TabView I display different views with data for the object. For example...

View Article

Using PRISM with ContentViews

How can I use PRISM (8.0) with ContentViews instead of ContentPages ? I found some Information in this very forum but nothing has worked out so far. I just need a sample to figure it out on my own. Has...

View Article

Bind parent view property if ControlTemplate child viewmodel property changes

Hi, I have a registration flow that has 10 or more steps each one being its own view with a viewmodel. Each of the steps should be happening on a SINGLE page. That's why I decided to use the...

View Article


Image may be NSFW.
Clik here to view.

SignalR is not working with my Xamarin form.

I made Api for SignalR using Asp.net api. it is working in Api side. but it is not working when i run with Xamarin App. I put Api code below: public class ChatHub : Hub { public void Send(string name,...

View Article

Lookup control and Prism

Hi, Trying to implement Lookup control and not sure of best approach. Basically I have control inherited from DevExpress TextEdit control with search icon and when clicked need to push another view...

View Article

Unable to select/copy/paste text in Xamarin.Forms Editor or custom Borderless...

Hello @JamesMontemagno , I've implemented Borderless Editor in my Xamarin.Forms application using Custom EditorRenderer. But I'm facing an issue that the editor text is not selectable at all in both...

View Article


Shell Flyout Right to Left

Hi , How to create Right to Left Flyout menu in xamarin Forms with hamburger icon on right....? Thanks, Subbu

View Article


Xamarin Forms upload/download files to Google Drive

Hi, Pardon the ignorance but I am new to XF and am trying to wrap my head around this. I had asked a previous question on uploading a file to OneDrive through my XF app. I got it to work and will post...

View Article

Xamarin Forms Android Camera not working after update Android OS 11

Hi All, I am facing issues on camera after updating to Android OS 11. When i tried to read the value from android stored image file path, it returns NULL. Same kind of issues were posted in the below...

View Article

It's possible to add Tap gesture to the Entry?

Hi All, As I wrote in the title, it's possible to add Tap gesture to the Entry? This code works for Label but doesn't work for Entry: var tapEntryRecognizer = new TapGestureRecognizer();...

View Article

How can I make the text wrap for long text in picker items

Is there a way to set the items in picker to wrap after they hit a certain length? I see that you can set the entire picker's widthrequest but that doesn't seem to do anything for long strings inside...

View Article


How can I break the text in a Picker's selection dialog wrap when too long?

I'm working with Xamarin.Forms, and the problem that I'm running into is wrapping text in the selection dialog When the text is very long exceed the limit and does not show the rest of the text, I want...

View Article

Need to apply word wrap for Xamarin.Forms Picker control text and its Popup...

Hi I'm using Xamarin.Froms Picker control to select set of questions with various text length. The problem is once I selected any items, it just showing half of the sentence and remaining texts are...

View Article


Global Exception Handling

Hi Everyone. I'm in my final submission of my Xamarin forms App. I want to handle Exceptions Globally in my Project. I tried this...

View Article

Flip animation like Flipboard.com

Hi, I have a requirement to create a mobile app on flipboard website concept but I am very new in XAML animation, can anyone please help me out in same if they have done some thing similar to this or...

View Article


Image may be NSFW.
Clik here to view.

UWP and SerialCommunication: await DeviceInformation.FindAllAsync(aqs) won't...

Hello! I am writing(for work) a library for multiple platforms: .NET Framework, .NET Core and Xamarin.Forms(UWP/Android/iOS) to connect a serialdevice. To get an overall compatibility i created an...

View Article

Flipboard how to implement in xmarin forms andriod ?

like this any one help me .http://openaphid.github.io/images/flipview-demo.gif

View Article

Using the WebAuthenticator with the Sample.Server.WebAuthenticator?

Using the setup from the WebAuthenticator sample and guide, is it possible to use the [Authorize] attribute on a WebApi Controller to prevent anomymous access?...

View Article

Grid cutting off Label text

I have a settings screen that is made of a grid that alternates between a header row that spans 2 columns and a 2nd row with a description of the setting and the control for that setting, usually a...

View Article


'C:\Program' is not recognized as an internal or external command, operable...

Hi' I'm new to xamarin forms. I'm getting this error " 'C:\Program' is not recognized as an internal or external command, operable program or batch file." when I try to run the android emulater. Any...

View Article


Media Element crash when navigating away from page on Ios

I am getting Media Element disposing exception when I navigate back to a previous page from a page where I have my Media Element. The managed Managed Stacktrace: at <unknown> <0xffffffff>...

View Article

Image may be NSFW.
Clik here to view.

Component interaction help

Good night guys, I will try to describe my question to see if anyone can help me. I am developing an app similar to WhatsApp, this is going very well, already sends text message, photo, audio and...

View Article

Xamarin Essentials - Geolocation. Always on permission on Android doesn't...

After updating the Xamarin libraries in my xamarin forms app and setting the Android target framework from 8.0 to 10.0, the app on Android is no longer requesting Always On location when calling the...

View Article


My carousel no change of position when i set the value of property from code

Im have a carousel (https://github.com/alexrainman/CarouselView) where the user can see samples, these samples are added one by one, and the user could see the last one created each time that he press...

View Article

Can I Display a View as an Overlay for the Full Screen, Including Over...

I need to display an arbitrary view with full descendants as an overlay covering the full screen. I've approximated this at the Page level, where I set the Content to be an Absolute Layout that...

View Article

SignalR client does not connect when the cell phone is at 3g/4g

Hello guys, I have a problem and I would like to know if anyone has been through something similar. I'm using SIGNALR to develop a chat application similar to Whatsapp, everything works fine, the point...

View Article

Image may be NSFW.
Clik here to view.

Remove margin in ProgressBar

Can the margin in the ProgressBar bar be removed and put it touching the NavigationBar? I have it in a stacklayout with padding and spacing in 0.

View Article



Image may be NSFW.
Clik here to view.

Write file to public directory (Android)

Good afternoon people. I am trying to save files to a public directory but so far without success. I already saved and recovered internally in the app without any problems, but I wanted to save it in a...

View Article

How to save a QR code created with ZXing on device gallery folder like image?

Hi, I have created an QR code with next code and show correctly in my app but I need to export it like an image on the gallery folder device. I don't know how to do it. barcode = new...

View Article

OpenCV with Xamarin.Forms

I would like to use OpenCV in a Xamarin.Forms app. OpenCV already provides binaries for Android (as .so files) and iOS (as a framework). I don't need all of OpenCV, so I think that the best way to go...

View Article

PushModalAsnyc await, does not wait, how to fix?

VS 2015, PCL, happens in UWP desktop, and Android (haven't gotten to IOS yet). In calling page, when button is clicked, this code is executed... private async void addressButton_Clicked(object sender,...

View Article


Error during release build

Unerwarteter Fehler bei der LinkAssemblies-Aufgabe. Mono.Linker.MarkException: Error processing method: 'Android.Views.ScaleGestureDetector...

View Article

Xamarin Forms every thing is slow

Hello friends i had built a xamarin form app for android i use mvvm pattern to built it , i use lazy loading in all pages there is only a few icons in resources folder but the app is very slow from...

View Article

Xamarin Forms - Accessibility ordering when CarouselView control is used in a...

Again another question on the Accessibility! In my project, I have a page where it contains elements in the following structure, <ContentPage> <StackLayout> <StackLayout...

View Article


Animation on xamarin forms using Lottie dont work!

Hi, anyone use the Lottie nugget to play animations on xamarin forms. I tested a simple example that dont run, just appear on android emulator a blank window. I install the Lottie nugets. Here is my...

View Article


Prompt user to change battery optimization settings - Android

Hi, I am looking for some solution for disabling battery optimization setting for my application. When user install app first time and Battery optimization is enable, App should prompt custom popup...

View Article

Image may be NSFW.
Clik here to view.

MultiTrigger with or condition

Hi I have added a trigger on my stacklayout to make it visible when one or more conditions are met. I dont want to create a property in my model to bind to the stacklayout. My issue is that the trigger...

View Article

Image may be NSFW.
Clik here to view.

Tabbed Page in UWP : TabBar in the bottom

Hello, I'm currently working on a tabbed page app, and I'd like to uniformize the design for iOS/UWP. So the point is to move the UWP's tab bar to the bottom of the screen. I've been trying to achieve...

View Article


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