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

Json Web Tokens

Hello everyone, I'm searching around the net how I could decode a JWT token to fetch the expiration date in C#. Only I couldn't find many solutions / examples for Xamarin. I tried adding...

View Article


Unhandled exception occured while using DatePicker in Xamarin.Forms.ContentPage.

Hi, I am trying to use datepicker control in in an application using Xamarin.Forms, but getting an error. The first time the activity is started, date picker work just fine ... however, whenwe close...

View Article


Done button not firing completed event on Entry

I have used the Xamarin example of adding a Done button to a numeric keyboard however this is not firing the Entry Completed event. I can see that the delegate is being executed when the done button is...

View Article

How are we to do global exception handling in Xamarin.Forms?

I've found the AdvancedLifecycleDemos for Android, and I'm thinking of converting it to some sort of cross platform implementation, but I'm wondering if someone has already done this? I haven't found...

View Article

How can i validate Entry control as required in xamarin.forms ?

Hello, How can i validate Entry control as required in xamarin.forms ? Already i have tried xamarin.behaviors. but didn't worked.... anyone can assist me ?

View Article


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


Jump List for Android?

I have followed this awesome article by James Montemagno on how to create a ListView with Grouping Headers and implement a Jump List for iOS. I have been looking online for how I could implement a Jump...

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
Browsing all 77050 articles
Browse latest View live


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