It can still be an interface and AsyncTask can still implement it, it's just the location that needs to change.