Quantcast
Channel: Recent Threads — Xamarin Community Forums
Browsing all 204402 articles
Browse latest View live

access View of databound ListView item

I have a custom datatemplate for my ListView. The business object (e.g. type of "Person") has many properties and I want to avoid having too many bindings for every property. That's why I would prefer...

View Article


Build process has become very slow

In the last few weeks and following an upgrade to the latest version of Xamarin, the build process has started to stall for about five minutes near the end, probably in the linking phase of the final...

View Article


Xamarin iOS - MVVMCross : Unable to connect button in custom cell with...

I am using MVVMCross, for my Xamarin iOS project. I am using a button inside the cell. I want to connect it to viewModel through command, but for some reason, I am not able to successfully bind them....

View Article

Xamarin.IOS binding multi framework(multi rely on base one)

The binding “framework” pages is very seldom.And the “embedded-framework” sample in github is too easy so that I can’s find its role in my project now. My project now need to use the third party...

View Article

Tab Icon Not Changing in Custom Renderer

I am trying to create a custom renderer to change the selected tab icon in Android only. The icon file value is changing in the ElementPropertyChanged method, but it's not displaying the new icon....

View Article


GetcontentResolver (); equivalent

I'm trying to use a java code in xamarin with C #, I was doing well until I got to that part: Inside this method, create a ContentResolver instance, retrieve the URI for external music files, and...

View Article

Swipe Detector trying to be implemented on CollectionView with many ViewCells

My attempt to get the swipe gesture to register currently looks like this. I would love for a swipe anywhere on the collection view to register. Right now my events aren't even registering. In debug...

View Article

Image may be NSFW.
Clik here to view.

iOS CustomRenderer never gets a proper size, so it can't draw correctly.

I'm trying to create a custom Tile that will draw a shape that basically is a rectangle with the upper-right corner notched out. The Android CustomRenderer works fine: This tile shape is just the...

View Article


Intermec PB21 Mobile Printer - Binding Library

Hi, Has anyone gotten into creating a binding library for Intermec Mobile Printer model number - PB21? Please let me know if you are. Thanks, Bijoy

View Article


Xamarin.Forms.WebView not loading URL ?

public class WebPage : ContentPage { public WebPage () { var browser = new WebView(); browser.Source = "http://Xamarin.com"; Content = browser; } } I tried the above coding, working fine. But when I...

View Article

Unable to save data using web api.

Hello, It is my first code in xamarin and I want to just save the data using web api but I am unable to do so after hours of hardwork. Can anybody help to identify the error. ` [HttpPost] public string...

View Article

JSON Post request on button click

loginButton.Clicked += (object sender, EventArgs e) => { Login(email.Text, password.Text); }; On button Click this method is being called - public void Login(string username, string password) {...

View Article

Unable to Debug Application in Android Phone.

I am using Visual Studio 2015 with Update 3 on Windows 8.1, and I want to debug the application on my Android Phone, I have Oppo A37f mobile. Earlier, I was using Visual Studio 2015 with Update 3 on...

View Article


Error java.lang.IllegalArgumentException: already added

Hi I am struggling with this exception from last couple days and not able to find any work around. I have tried most of all resolution provided on web but still not successful. Any help will be really...

View Article

Akavache GetAndFetchLatest never fetches latest if a cached value exists

Hi All, I'm trying to use the Akavache GetAndFetchLatest method but it's not working as I expected and was hoping someone would be able to spot where I'm going wrong. I'm calling the method like this:...

View Article


Is there a way to easily disable grouping in a listview

I have a listview and my listview is currently using grouping. I know how to get grouping working, but what I would like to do is to easily disable it on Android but not on iOS. The only way I can...

View Article

ToolbarItem Command CanExecute doesn't work?

Hi, I added an ToolbarItem to the NavigationPage with an Command but if the Commands CanExecute method returns false the ToolbarItem isn't disabled. Is this a Bug? Or i'm i doing something wrong here?...

View Article


How to add a SAP project to a PCL one?

I am starting to learn Xamarin.Forms (and C#) using visual studio trying to replicating each chapter of the Creating Mobile Apps with Xamarin.Forms book. I have currently a (probably dumb and easy to...

View Article

Full Screen Image Viewer (with Pinch to Zoom, Pan to Move, Tap to show...

I'm working on a full screen image page that supports pinch to zoom, pan to move and tap to show captions. I'm basing this on how image viewer works in apps such as Facebook and Yelp. My code is built...

View Article

How to display images in list view and icon in toolbar items in UWP using...

Hi, I have an image in toolbar item item. <ContentPage.ToolbarItems> <ToolbarItem Name="Sync" Icon="SIcon.png" Command="{Binding SynCommand}" /> </ContentPage.ToolbarItems> and have a...

View Article
Browsing all 204402 articles
Browse latest View live


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