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

StartActivityForResult() not avaiable?

Hello, i want to display the android mail app and wait for the result. On Android this is possible with using StartActivityForResult(). But Xamarin.Forms has only Application.Context.StartActivity();...

View Article


Cannot add multiple Labels in a form

Hi, I have the following XAML which renders ok: <ContentPage.Resources> <ResourceDictionary> <!-- This is only an issue on the iPhone; Android and WinPhone auto size the row height to...

View Article


Javascript Interface?

I had a javascript interface working on Android, but not what I've moved the code to forms it doesn't appear to be working. I set it up the same way as I did in Android in my android version of the...

View Article

Custom cell for TableView

Hi folks, I'm porting an iOS app (written in Xamarin) over to Windows phone, and I'm using Xamarin Forms (the plan being to hopefully bring all the code together). I'm struggling with a particular page...

View Article

Binding update issue on iOS only....how to resolve?

So in my Master/Detail application I have one detail page that will get information from a webservice and display it. The page itself contains a table view, the table view contains only TextCells. The...

View Article


Image may be NSFW.
Clik here to view.

ListView Bugs

Hi everybody, Its me again and I have new awesome bugs for you ! I want to achieve this layout: HorizontalStackLayout with ScrollView (ImageScroller), and VerticalStackLayout (TextHolder) -...

View Article

Alternative for PropertyList (iOS) in Xamarin.Forms?

Hi, I am from iOS background. I would like to store some of my information at application level. Usually I use Property list for iOS in such kind of situations. Is there and similar feature in...

View Article

Android - Reading Device Policy and IsActivePasswordSufficient

I want to check that the current device has sufficient security. The DevicePolicyManager and its IsActivePasswordSufficient look like they will do the job just fine. The docs say that I should request...

View Article


Why Xamarin not supports HttpClient?

private string GetHtmlCode(string url) { var httpClient = new HttpClient(); var httpResponseMessage = httpClient.GetAsync(url).Result; Stream res =...

View Article


NavigationPage with a Wizard and removing the wizard pages from the back...

I am trying to create a wizard that might or might not be launched at startup. (If they have already setup their app, then it will not need to capture the information again.) However, I can get the...

View Article

Image may be NSFW.
Clik here to view.

SwitchCell.On Not Working on Android! Bug??

Hi, I'm using a tableView with serveral SwitchCells inside and I need to be able to switch the state of each Switch Cell. In iOS my code works but on Android nothing changes and I dont know why. Is...

View Article

CustomViewCell on Windows Phone 8

Hello there once again forum I am having a problem with a custom view cell which doesnt get highlighted when its running in Windows phone It does get highlighted on Android and iOS is theres an extra...

View Article

ItemSelected and ItemTapped events not firing in a Xamarin.Forms solution

public class SubMenuCell:ViewCell { public SubMenuCell() { this.Tapped += SubMenuCell_Tapped; View = new StackLayout { Children = { new Label{Text="Description"}, new Button{Text="Button"} } }; void...

View Article


ArgumentOutOfRange on FontAwesome Label inside a ListView

I've got a functioning FontAwesome Renderer in my app. I'm able to see fonts properly except for when they're contained within a ListView. When I load it on Android, I get this error. 07-14...

View Article

Strange behavior of Editor in TableView on Android

I can't seem to make an Editor behave properly when it is in a cell of a TableView on Android. It is also a little funky on iOS, but that can wait. I have the Editor contained in a ViewCell, which in...

View Article


Image may be NSFW.
Clik here to view.

#if __IOS__ seems not working

I used this code in my app, but when it was running, it didn't print the text(both in simulator and my device). #if __IOS__ System.Diagnostics.Debug.WriteLine ("I'm in iOS"); #endif The Define Symbols...

View Article

ListView bug ?

Hi Trying the most simple ting, to have a listview and to add / remove items during runtime. But the listview GUI is not updated with the data in the list. What am I missing here ( please see the code...

View Article


Touch Events in Xamarin.Forms?

I'm using a TabGestureRecognizer to make an image behave like a button. (See below) I have two versions of this image (back_button_up.png and back_button_down.png). I want to swap the images on "Touch...

View Article

Creating a custom ViewCell in XAML

I'm trying to create a custom ViewCell in XAML - prior to this I've done everything in code <?xml version="1.0" encoding="UTF-8"?> <ViewCell xmlns="http://xamarin.com/schemas/2014/forms"...

View Article

Need some suggestion for showing notification in Android

Hi, I did Notification in Xamarin.Android and just wondering how to implement it in Xamarin.Forms. I need some ideas regarding this. 1) In Xamarin.Android i used Alarm Manager to start service for...

View Article
Browsing all 58056 articles
Browse latest View live


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