title: Not pulling correct object out of ArrayList when called
body: <p>I have a program that takes a stream of data in in the form of bytes. It then takes the bytes and makes strings out of the valid bytes. Then those strings are placed in an arraylist and called with view.setText(arraylistname.get(int index) of the arraylist class. Here is the code. messages is an ArrayList, position is the index, and readMessage is a string object.</p>
  
  <pre><code> case MESSAGE_READ:
              byte[] readBuf = (byte[]) msg.obj;
              // construct a string from the valid bytes in the buffer
              String readMessage = new String(readBuf, 0, msg.arg1);
             // rpmView.setText(readMessage);
              messages.add(readMessage);
  
              int position;       
              position = 0; //position &lt; messages.size();){
              int position1;
              int position2;
              int position3;
              int position4;
              int position5;
                    rpmView.setText(messages.get(position));
                    position1 = position++;
                    tempView.setText(messages.get(position1));
                    position2 = position1++;
                    mphView.setText(messages.get(position2));
                    position3 = position2++;
                    gearView.setText(messages.get(position3));
                    position4 = position3++;
                    batteryVoltageView.setText(messages.get(position4));
                    position5 = position4++;
                    fuelLevelView.setText(messages.get(position5));
  </code></pre>
  
  <p>The problem is when the stream is read, all fields/views display the same info and don't update. Please help. I did a lot of research about listviews and arrayadapters, but i don't want a vertical scrolling list, I want textviews that update as the data changes, but the layout stays the same with the exception of the values changing.</p>