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

need to convert the following into restsharp code!

Trying to figure out restsharp but unable to do in Restsharp. any help? public async Task<Earthquake[]> GetEarthquakesAsync () { var client = new System.Net.Http.HttpClient (); client.BaseAddress...

View Article


Issue with Custom Web View on 1.4.2.6359

Hi, I've a little Web Page view that as an overlay activity indicator, both defined on Forms level. In order to turn the indicator on and off, I use the custom renderer, see below. It worked pretty...

View Article


Changing a TabbedPage CurrentPage when using MVVM and Xaml

Hey all, Just wondered if this is possible and how to do it. I essentially have a TabbedPage with a couple of tabs. I want to be able to switch the tabs programmatically. All my views are defined in...

View Article

Xamarin Forms Showing Loader

Im showing a loader on Click of a button Code Behind async void onLoginClicked(object sender, EventArgs args) { if (IsLoading) return; IsLoading = true; if (Utilities.LoginUser(_userPin)) { //Do...

View Article

GetManifestResourceStream stopped working in Xamarin Studio 5.9.0?

I just took the latest downloads: Mono Framework MDK 4.0.0.143 Xamarin Studio 5.9.0 Xamarin.Android 5.1.0.115 Xamaring.iOS 8.10.0.267 I have this code, which was working previously: private void...

View Article


Unable to cast object of type 'RestSharp.JsonArray' to type...

I get this error when i run my iOS application. My webservice method is: public async Task<Game[]> GetGamesAsync(){ var client = new RestClient("http://gams/GameStore2/"); var request = new...

View Article

using Application.Current.Properties to log out of current session

I am currently using Application.Current.Properties to store all the user sessions. What do i do to erase all of the user session from Application.Current.Properties after log out?

View Article

Is it possible to configure orientation on specific page ?

Tried to find orientation settings or configuration properties but didn't find. And there is a question: Is it possible to disable changing orientation on some specific page ?

View Article


auto call a method without pressing a button

Is there any way that i can auto call the following without getGamesButton? var getGamesButton = new Button{ Text = "Get Games" }; getGamesButton.Clicked += async (sender, e) => { var webService =...

View Article


Xamarin.Forms : Unsupported Project

After I upgraded to the latest version. I am having following issue in Visual Studio. The iOS and Android are not supported anymore. Please see the attached. Any help will be appreciated.

View Article

Lost the image and text label from my tabbed page

When i made my tab par a navigation page as well, i lost the text and images: What went wrong? Children.Add (new NavigationPage (new UserAccount { Title="Account",Icon="Contacts-32.png"}) ); others...

View Article

Passing var from one page to another

I consumed from the web api, and have the following in my GamePage.cs, getGamesButton.Clicked += async (sender, e) => { var webService = new GameRepository (); var webServiceCall = await...

View Article

removing space between label and a list view.

How do i remove the space between my label and the list view?

View Article


IPA file no longer appearing after update?

I just updated Xamarin Studio (to 5.9). My Xamarin forms project was previously configured to create an IPA file for ad-hoc deployment on the iOS I've checked my project build, and everything looks...

View Article

Compute the width of the screen

Do we have a simple method to compute the size of the screen within Forms for Android and iOS?

View Article


Timepicker - change title

How can I change the Timepicker title ("select time") in fullscreen mode? I'm using it in a Windows Phone 8.1 Silverlight solution. Thanks!

View Article

Entry - how to change the font and placeholder text color?

I can set the text color and text background color - but can't see how to set the placeholder color or change the font?? Thanks

View Article


ViewCellRenderer reusablecell is ALWAYS null - why?

I dont' get why it's always null.. presumably there's a flyweight impl piggy backing off iOS's tableview renderer here, or this parameter wouldn't exist - but it's always null and as such my cell...

View Article

How to implement Hamburger menu with sub menus for some items using Xamarin...

Can someone please guide me on this

View Article

Final straw??? Simple Store apps throw exceptions on startup. Any idea why?

As my week has been so badly disrupted by software updates breaking things (BOTH Microsoft and Xamarin this week), I thought I'd take a step back and have a go at getting a Windows Store app running,...

View Article
Browsing all 58056 articles
Browse latest View live


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