Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Move the initilizeComponents() inside OnAppearing()

$
0
0

Hi,

Little question, i was trying to optimise a TabbedPage of 3 pages.

To make it more fluid i have moved the call of initializeComponents() from the constructor to an overide of OnAppearing().

It works corectly but i have a doubt if it's an acceptable practice or not ?

Thanks.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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