Xamarin Async method usage OnStart()
问题 Is it considered a good practice to call an Async method that does some heavy lifting with server connections and data exchange during OnStart() event of the application given that this method does not touch the UI thread? Are all the components of the application properly initialized at the time of this event firing for the Async method to be able to execute? protected override async void OnStart() { sendHttpRequestAsync(); } private async void sendHttpRequestAsync() { await ... } 回答1: Avoid