mobile/UmassAccess/platforms/android/src/main/assets/app/home/home-page.js
/* ***********************************************************
* Use the "onNavigatingTo" handler to initialize the page binding context.
*************************************************************/
Use the "onNavigatingTo" handler to initialize the page binding context.
Use the " onNavigatingTo " handler to initialize the page binding context .
function onNavigatingTo(args) {
    if (args.isBackNavigation) {
        return;
    }
    const page = args.object;
    page.bindingContext = new HomeViewModel();
}
function onNavigatingTo ( args ) { if ( args . isBackNavigation ) { return ; } const page = args . object ; page . bindingContext = new HomeViewModel ( ) ; }
Use the "onNavigatingTo" handler to initialize the page binding context.
Use the " onNavigatingTo " handler to initialize the page binding context .
/* ***********************************************************
    * The "onNavigatingTo" event handler lets you detect if the user navigated with a back button.
    * Skipping the re-initialization on back navigation means the user will see the
    * page in the same data state that he left it in before navigating.
    *************************************************************/