protected void WhenViewLoaded(Action action) { if (viewLoaded) { action (); } else { viewLoadedActions.Add (action); } }