Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Difference Xamarin.Forms and native controls (ListView and TabbedPage)

$
0
0

Hi folks,

I am experimenting with creating a Xamarin.Forms application with a TabbedPage that had a ListView. Clicking on an item in the ListView takes to a ContentPage (and thus no tabs on that page).

As I was playing around with a native Android app and the Xamarin.Forms app deployed to Android that there are several differences. For example, the items in the ListView have lines between them in the native app while they do not in the Xamarin.Forms app (however they do in the IOS and WP versions). Clicking on a list view item colors it blue Xamarin.Forms whereas the shading is gray in native. Color is easy to change, however, the animation on color and esp. that when you return from a child page, the selection is cleared in native app but not in Xamarin.Forms was interesting.

Transition from TabbedPage to ContentPage did not seem smooth on Xamarin.Forms either. I noticed that first the animation opens up the ContentPage, and once the animation is complete, then the tabs suddenly disappear, which makes it jittery to the user. It is the same experience on the way back from the ContentPage to the TabbedPage.

Based on my experience so far, I want to find out that these are expected differences between the platforms or if it is likely that I am using Xamarin.Forms incorrectly? I am especially concerned about the animations and behaviors since it has a strong impact on the visual appearance.

The Xamarin.Forms application that I created for Windows Phone seems to have a much better behavior (i.e. quite similar to the native platform). I have not yet tested on IOS.

Any help or guidance would be appreciated, especially from folks who may have already tried Xamarin.Forms and worked through similar issues.

Thanks


Viewing all articles
Browse latest Browse all 58056

Trending Articles