Tagged Questions
8
votes
1answer
24k views
Android - Adding and showing items to ListView one at a time using an ArrayAdapter
I'm using an ArrayAdapter to add items to a custom ListView and showing the results in my Android app. The problem I'm having is that the ArrayAdapter seems to wait until all items are in it before ...
1
vote
4answers
2k views
Error with ArrayAdapter in AsyncTask
I have the following code but I get an error on this line “userSpinner.setAdapter(adapter);”
private class Task extends AsyncTask<Void, Void, Void>
{
protected void onPreExecute() { ...
1
vote
2answers
649 views
ArrayAdapter is updated late from Webservice in AutoCompleteTextAdapter
I have an AutocompleteTextView working with an ArrayAdapter. The adapter is updated from a webservice, when the text changes. This updated is done in an AsyncTask, what is supposed to be a good ...
1
vote
1answer
799 views
Android - list returns to top after update
I have a list that gets refreshed every 2 seconds via the Handler postDelayed() method.
Every 2 seconds an AsyncTask is run that makes an HTTP GET request, turns the JSON into a list of objects, then ...
0
votes
2answers
81 views
ArrayAdapter possibly causes app to crash
I am having a problem moving forward with my app. I just started developing the app and only have about 15 hours involved so far. But I have hit a snag. Usually I am able to google snags and most of ...