Developing an Xamarin Android app that is data centric. A set of activities that make API calls and display the response. Currently I am making the API calls from the activity. Things work but what is the best practices for the calls. When the devices rotates and the activity gets rebuilt the API is recalled. I am thinking that this is not smart. Should this go to HandlerThread, service ?? trying not to reinvent the wheel. Thx for the input.
↧