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

Xamarin.Forms bug? System.ObjectDisposedException: Cannot access a disposed...

Hi, My Android Xamarin.Forms application uses a Navigation stack to display various views, I often have a list on a screen (A) that once a cell is clicked I push onto the stack a new screen (B), the...

View Article


Image may be NSFW.
Clik here to view.

ListView space issue when HasUnevenRows=true. Need a solution.

Hi All, I'm working on a simple listview structure. My requirement is basically to show elements in list. I want HasUnevenRows=true because few elements are single lined & few are multi lined. Here...

View Article


Image may be NSFW.
Clik here to view.

How can I scroll to a specific row or section in a ListView

I have a Xamarin.Forms.ListView that contains events that are grouped by date. There are events that occur in future and events that occur in the past. Users would like to have their screen load with a...

View Article

MPMoviePlayerController : Remove black in the screen

Hello, I manage to use MPMoviePlayerController to display a video as Resource. My code is : protected override void OnElementChanged(ElementChangedEventArgs e) { base.OnElementChanged(e);...

View Article

MVVMCross Forms + MasterDetail Android error

I'm trying to implement Master Detail Page and MVVMCross, it works fine on ios, but on android I'm getting this error : android only allows one navigation page on screen at a time This is my...

View Article


Setting a header of a grid in a listview

Hey, I am trying to add a header to my listview. My listview contents will be a grid, so the column sizes will change dynamically. I have tried using listview.header, but the size of the header column...

View Article

Hanselman forms

i'm using the example https://github.com/jamesmontemagno/Hanselman.Forms and when turn the screen with the menu open, the menu is closed, why???? sorry for my english...

View Article

ContentPage/NavigationPage, ToolbarItems and Navigation.PushAsync

I am currently trying to push a new page with a toolbar on top, so I tried: public partial class MainPage : ContentPage { public MainPage() { InitializeComponent(); this.ToolbarItems.Add(new...

View Article


Pinch and Pan gesture recognizers not working on Android project

I'm using a custom ContentView object with three different gesture recognizers: TapGestureRecognizer, PinchGestureRecognizer and PanGestureRecognizer (using Xamarin.Forms 2.0.1). Here's the custom...

View Article


how to align Label control horizontally in listview

hello, I'm new to xamarin forms (I used to develop on wp/xaml) I have a chat in my app, and I would like to display the message left or right according to the sender (ex: me on the left the other one...

View Article

How do you pass multiple arguments in the MessagingCenter?

We're trying to implement a DisplayAlert bridge between our ViewModel and View by using the MessagingCenter. We wanna pass the title and the message as parameters to the message. We tried this, which...

View Article

Custom Button Renderer - size issues on Android (maybe iOS)

Hi, I'm rendering a custom button and it looks good but the size of the Android element is weird. The custom button is very simple. In my PCL I have this: public class ImageButton : Button { public...

View Article

Different Xamarin Forms View per platform

Hi, I have started using the FFImageLoading CachedImage view in my app however this is not supported in the version of Windows Phone I am targeting so none of my images are shown, so I have an idea...

View Article


Firebase.Xamarin

I'm trying to write with user authentication, as with the rules of the default server. auth! = null ... using the basic method, I have the error BAD 400 ... help me? var item = await firebase...

View Article

Nested namespaces in XAML

So I have these 2 line in my xaml (at appropriate locations) to add a custom control to my pages. xmlns:local="clr-namespace:AProject;assembly=AProject" <local:Nested.AControl/> Sometimes it...

View Article


ObjectDisposedException on PopToRootAsync with animation

I have a simple page stack and sometimes (not very often) when I get to the end of the page stack and simply asynchronously pop to root with animation, I get this crash. I hope someone can help me with...

View Article

Add Droid project to existing solution

I have been developing my xamarin forms PCL app over the last year but only had an IOS project within the solution. Time has come to also deploy to Droid so need to add a project in. What I thought...

View Article


Error: Could not AOT the assembly Mono.Android.dll (XA3001)

When I compile my XF project for Android in Release mode, I get this error: Error XA3001: Could not AOT the assembly: obj/Release/android/assets/Mono.Android.dll (XA3001) I looked in the Packaging log,...

View Article

large page without scrollview (listview inside)

Hi, I have a large page with editors and listviews and it doesn't fit in a page, so I use Scrollviews but it seems that I should not use listviews inside scrollviews, how can I use listviews in large...

View Article

Graphics, SkiaSharp

Hi all, I am currently looking at the SkiaSharp Example here: https://developer.xamarin.com/guides/cross-platform/drawing/introduction/#Obtaining_an_SKCanvas. It seem's easy enough and i implemented my...

View Article
Browsing all 81910 articles
Browse latest View live


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