I am building an app in android, where first activity does an Rest api call and shows the result on the screen.
To do the web-service call,i can use asynctask or loader or Handlers . Services won't be good option as it's not a long-running operation and it is tied to the activity life cycle.
I can use libraries like volley and robospice. But, before using the libraries, i would like to know the efficient approach.
What to use aysncTask? If it's not recommended because of issues like restarting when screen orientation. Then, when it should be used?
Or Loaders would be the best approach, as it takes cares of all issues?
I am new to android.
Any suggestions would be appreciated.