I actually disagree- AsyncTask should be avoided in most cases for one reason: configuration…