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

Removing the navigation bar causes the app to be slow/crash when going back by hardware button

$
0
0

Here's my scenario:

A page, with a listview that has around 700 rows. Works fine and faster than I imagined with no problems whats so ever. Until I decided to remove the navigation bar and replace it with a StackLayout to add a subtitle and other stuff that the navigation bar does not support natively. Anyway, after doing that nothing was changed, everything works as expected and page loads quickly. The problem starts when I click the back button or even implement a button on page that mimics the back button in the navigation bar..

The problem is, after removing the navigation bar and trying to go back by button, the screen freezes for a FEW SECONDS, then the app might crash or just be unstable at best. I do not see the relation between navigation bar and this, but this is how it is!

Adding the navigation bar again without changing anything, everything works so fast! even when going back by hard button!

Any explanation on why is this happening?


Viewing all articles
Browse latest Browse all 89864

Trending Articles



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