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

How to change the color of tab bar of tabbed page on Android(using...

I create a class extending TabbedRender but I cannot find how to get the native tabbed page.

View Article


ListView with Images crashes when "fast"-scrolling

Hi everyone, I have a ListView with around 15-20 images and everything is working fine, but when I scroll really fast up and down after a few seconds the app crashes with a OutOfMemoryError Exception....

View Article


Image may be NSFW.
Clik here to view.

Using a CanExecute Func on a RelayCommand never re-enables a button. Is this...

private RelayCommand _myRelay; /// <summary> /// Gets the MyRelay. /// </summary> public RelayCommand MyRelay { get { return _myRelay ?? (_myRelay = new RelayCommand( () => { // I can...

View Article

Rotation Problem

Hey guys, i have created a custom control to add a filter panel to a listview. it's based on a stacklayout with vertical orientation. this stacklayout has the following children: Title: another...

View Article

Image cannot display on Android when Binding Image Source with an Url string...

This custom listview worked fine on Windows Phone but didn't on Android, there is a problem with binding Url source of Image. Any ideas? `<?xml version="1.0" encoding="utf-8" ?>...

View Article


Windows Apps support

If i understand correctly, using Windows Forms, you can create Android, iOS and Windows Phone apps. What about apps running on a Windows tablet? This is not a Windows Phone, so I'm guessing it is not...

View Article

Difference between PushAsync and PushModalAsync ?

I'm getting Error and found some solution, I don't is this good solution or not. Error : System.InvalidOperationException: PushAsync is not supported globally on iOS, please use a NavigationPage. try{...

View Article

System.MissingMethodException while adding new record

I have created a sample SQLite PCL app using xamarin. You can view and download the code from https://www.dropbox.com/s/zomjpvnysbc2s7g/DBTestApp.rar?dl=0 When i click '+' to add new employee, an error...

View Article


NavigationPage. Pushing/Popping without animation

Is it possible to push/pop pages without animation?

View Article


How to tell if an image is in my resources

I wish add debug code check that an image exits (to help catch bugs when an image is not added to the project properly) - how would i do this? ImageSource.FromFile("myImage.png") does not give any...

View Article

Is it possible to display a different view depending on whether the screen is...

What would be the best way to go about implementing this?

View Article

OData client

I am trying to write a simple oData client, which queries a Service hosted in MVC5/WebApi2. I am using the Simple.OData.Client component from Nuget (tried version 3 .0.0 and 3.3.0). I have created a...

View Article

Default image uri in Image view

I am using Image view to show product image in Xamarin Forms. The image is loaded using a uri. In case there is no product image, I want to show a default image. Is there a way to check if the image...

View Article


FormMaps visibleregion null

Please any help as to what is impeding:- I have downloaded and built workingwithmaps sample. http://developer.xamarin.com/samples/WorkingWithMaps/ I have set up googleplay lib and it works on other...

View Article

Set Button Size

How to set a button height and width that should work on every device. Is there any option to set width and height in percentage. Please revert for the same, your response will be beneficial for me.

View Article


Bug: ListView crashes when deleting an item (workaround available)

I created a ListView in Xaml like this <ListView ItemsSource="{Binding ContactsGroupCollection}" ItemSelected="OnItemSelected" IsGroupingEnabled="true"> The item source is an ObservableCollection...

View Article

Client-Server Crud App with SQLite and REST

Helllo, I am in the process of creating a Xamarin.Forms app which will have the ability to communicate with a REST service and pull records down, update them or create new, and send back to the server...

View Article


Animation

Hey guys, i have a problem with animations in XF. To get expand/collapse functionality i use the LayoutTo method on a listview and a grid to manipulate Height and Y-Position property. That works great,...

View Article

Why can't I register a Dependency from a referenced class library?

So I have some services that I have implemented in my Android and iOS projects, and I thought I would abstract them out into separate class libraries so that I could re-use them in other projects. They...

View Article

should i worry about web view memory leak?

when i Navigation.PushAsync -> new a content page that contain a WebView , should i worry about the memory usage ? or how can i free the page and the obj ?

View Article
Browsing all 58056 articles
Browse latest View live


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