1

Android - AutoCompleteTextView nullpointerexception from arrayadapter getcount()

view story
linux-howto

http://stackoverflow.com – I can't work out why I keep getting a nullpointerexception when I'm using an asyntask to fetch some search results from an api and populate an arrayadapter public class AddVenueActivity extends Activity implements TextWatcher{ private AutoCompleteTextView venue_auto_complete; private ArrayList<String> venues = new ArrayList<String>(); private ArrayAdapter<SearchResult> adapter; private SmartImageView location_image; private VenueManager venueManager; private Venue venue; private Map<Integer, Object> current_venue_suggest_list = new HashMap&l (HowTos)