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

Custom ViewCell after xamarin forms 2.0 upgrade have breaking changes in Windows Phone.

$
0
0

Dear All,
I've attached a fairely simple. drilled down version of our app. What you will see in it is that I've a simple Forms app consisting of 2 pages.
My first page just has a button to navigate to a second page.
My Second page has a TableView with Custom ViewCells using EntryRenderer on Windows Phone.

This was all working fine up until XF 1.5 & then we decided to upgrade to XF 2.0
Now it does not work. All my entries in that custom view cell are shrunk to a height of 1 pixel.

Here is the glitch though. I figured that if the page using the table view with custom viewCell & entry renderers is the first page of your app then all works fine.. but if it's somewhere in in the navigation stack.. then you will see all entries are shrunk.

Attached is a sample project. If you run it as it is you will see a page that looks beautiful. If you comment the
MainPage = new NavigationPage(new SecondPage()); & uncomment the
MainPage = new NavigationPage(new FirstPage());

On App.cs & run the app again on the WP device you will see the issue I am referring to.

A fix is really appreciated for it.

Here is the sample code:

https://github.com/supreettare/TableViewInWP

Thanks


Viewing all articles
Browse latest Browse all 75885

Trending Articles



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