Yes, processData is only called when listView is not null, hence adapter will not be null