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

Xamarin.Forms and Android AppCompat Theme

Hi everyone, I'm using Xamarin.Forms to make an Android application (Lollipops 5.1, API 22 on Nexus 5 with Android Player atm.). I wanted to customize the tab/nav bar so i used an AppCompat Activity...

View Article


PushModalAsync to get username from new page, then PopModalAsync and use that...

Hi, I'm trying to do the following, but the async isn't on the page like I was hoping - it's only on the displaying of the page. var createPlayerPage = new CreatePlayerPage(nPlayerNumber); await...

View Article


What to do when AppContentPage can no longer be found in Xamarin.Forms?

I upgraded to the latest version of Xamarin Studio and now my project won't build and I can't set my iOS app as the startup project. Not even an option anymore. To add insult to injury, AppContentPage...

View Article

ListView Alternating Row Color

Trying to implement that each odd and even row of a listview has a different colors. I tried it with an IValueconverter, but I can't seem to bind it to the ListViewItem. I also read about triggers, but...

View Article

Has anybody written an AOP Logging Interceptor for a PCL?

I'm looking at adding logging all over my app (for insights), but I really don't want to add all that bloat to the code. A typical method with logging will look like public void SomeMethod() {...

View Article


Xamarin Forms Navigation PushAsync overlaps screen.

Just tossing it out there to see if anyone has experienced this before. Basically, I've got two screens displaying at the same time. The blue is a list view on a page that was pushed on top of the...

View Article

Pass Click/Tap Event Through Levels of RelativeLayout

I'm placing RelativeLayouts on top of each other in the same grid row. The RelativeLayouts are set to FillAndExpand on both the HorizontalOptions and VerticalOptions. I want to be able to place them on...

View Article

MediaPicker showing Splash Screen on Image Select Galaxy S4

I am having a bit of a strange issue. When I used the MediaPicker on an S4, the always displays the splash screen after I have selected an image. I try the same code on an S5 and it doesnt happen. Both...

View Article


DependencyService.Get() best practice?

In all of the examples that I've seen in the documentation dependencies are retrieved (DependencyService.Get()) each time the particular interface is needed. This seems like it could be more processing...

View Article


ZXing BarcodeWriter to Image not displaying

Hello guys, I've been trying to display my barcode in a Content Page but it doesn't seem to be working. I'm using the BarcodeWriter from the ZXing.Net.Mobile Nuget package. The code compiles without...

View Article

Binding to a static property in code, not in xaml

Hi, the following doesn't work: myLbl.SetBinding<ViewModel>(Label.TextProperty, x => ViewModel.StaticVariable); What's the equivalent in code of the xaml x:Static markup extension? Tks. François

View Article

Error after updating to latest Xamarin.Forms

This is the error (Btw, target is Level 23 for android version and target build. level 15 is minimal):...

View Article

SignalR with OAuth Token not Supported in Xamarin Forms IOS?

Hi All! I have a Forms app using SignalR and Owin OAuth tokens on the server side. The application is logging in and obtaining the token, then adding this to the header of my signalR hub....

View Article


ViewModel properties not binding

Hello I have some properties in my viewmodel that I want to bind to a custom control. However, these properties are null once they reach the custom controller. Is there something I am missing? My...

View Article

Bindable Command-Property on ListViewItem?

Hi, is it possible to make a ListViewItem call a ICommand (including CommandParameter) on tap? Actually / AFAIK, this is only possible via AttachedProperties (which basically doesn't do anything else...

View Article


The binding context is null until the event?

Hello! Simple situation - I have a ContentPage with some data. So then I want just to write this data to the object. But I stuck with simple problem - program is giving me a null instead of the Binding...

View Article

list of numbers in line

Hi, i'm using a list view with labels to show a list of numbers (currency), but the digits of the numbers are not miming each other. Is there an other way to show a clear list instead of using a...

View Article


How could I change the status bar backgroundcolor and text color in iOS use...

I think there must have someone make this happen,is dependency service could make this happen

View Article

Xamarin.Forms 1.5.2-pre2 Released

Forums seem a bit slow to update, so for anyone who's on the ball. Xamarin.Forms 1.5.2-pre2 has now been released Release Notes ## Features ## Entry.HorizontalTextAlignment SearchBar.FontAttributes,...

View Article

Record .wav using Xamarin Forms

Hi! I am trying to record audio using Xamarin Forms. I have found only XLabs services for this, but they don't work correctly. Do you know some other ways for doing this?

View Article
Browsing all 75885 articles
Browse latest View live


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