0
votes
0answers
19 views

Only one of my array adapters will work at a time in my row

I have two textfields in my row, and I'm using array adapters to assign their text. However, only one of them will work at a time. If I comment one out, then the other will work, and vice versa. What ...
0
votes
1answer
35 views

Can I populate a listview from getView of a custom adapter?

I have a listview that contains items that have listviews. I am trying to populate item's listviews from inside the getView of the custom adapter that populates the "parent" listview: @Override ...
0
votes
2answers
53 views

Android App crashes at setadapter function for arrayadapters

My App is crashing once the setadapter function is called and I am stumped. According to the logcat it is some null exception but I just cannot seem to figure out the issue. Any help is appreciated! ...
0
votes
1answer
40 views

SetAdapter for arrayadapter is crashing

My app keeps crashing whenever my setadapter function gets called and I have no idea why, can anyone help? The emulator that I am running just says that the app has stopped unexpectedly. This is my ...
0
votes
2answers
68 views

Android ListView doesn't cooperate

I've been studying Android ListViews recently and I'm having some issues. I looked at a few tutorials and got the most basic ListViews working just fine. But now I would like to make a ListView that ...
0
votes
1answer
109 views

Android ListView does not display information from multiple ArrayLists

I've been studying Android ListViews recently and I'm having some issues. I looked at a few tutorials and got the most basic ListViews working just fine. But now I would like to make a ListView that ...
0
votes
4answers
72 views

How to put a number before ListView item in Android

In my list the data is shown like this, test 1 test 2 test 3 But I want to show them like, 1) test 1 2) test 2 3) test 3 How can I do that. Plese help. This is the code I have done so far. ...
0
votes
4answers
75 views

How to disable ListView item after it has been clicked?

I have a simple array of Strings that I was displaying in a horizontal ListView with an ArrayAdapter. What I'm looking to do is: when the user selects an item from the ListView, make that item not ...
1
vote
3answers
68 views

ListView not working?

Working in a group to make an android app, currently I just need to create an Activity consisting of a ListView that displays several selectables (adapted from a String Array) -- eventually the ...
0
votes
2answers
66 views

Android EditText in a ListView - Erratic / Unexpected results

I've been working on a client/server application for a few months now for my final year project of my undergraduates degree, I'm currently working on a ListView which should show a list of products ...
1
vote
1answer
89 views

ArrayAdapter - how do I stop getView calls?

How do I stop getView calls, until I call notifyDatasetChanged() again? My issue: I have a textfield that filters the adapter on textchange. If I change text too frequently I get ...
0
votes
0answers
31 views

application shuts down when I create an ArrayAdapter object

Here is the code MainActivity.java: public class MainActivity extends Activity { public Context context; private Bluetooth bluet; @Override protected void onCreate(Bundle savedInstanceState) { ...
-3
votes
1answer
193 views

AutoCompleteTextView not responding to changes to its ArrayAdapter

The ArrayList appears to be populating just fine, but no matter what approach I use, I can't seem to get the adapter to populate with data. I have tried adding to the ArrayList, also to the ...
0
votes
1answer
42 views

ArrayAdapter with unknown list types

Is there any way I can do something like int the code below? I have many different spinners and lists and I wonder if there is an approach where I don't have to do many checks: private void ...
0
votes
0answers
141 views

Parsing JSON data and adding in spinner

I have created an activity which pulls data from JSON and data is not getting displayed on Spinner view but when I'm trying to print a data on a logcat the data is displayed. Here is my code: ...

1 2 3 4 5 10
15 30 50 per page