title: Java/Android, is it possible to get contents of an Object?
body: <p>As the title suggests. I've done a bit of research and tried Jackson which seems like it should have worked but I had ridiculous amount of errors while trying to use it so that seemed a no go. </p>
  
  <p>Basically my problem is this, I have my list view populated by an adapator as so:</p>
  
  <pre><code>friendsArrayAdapter = new FriendsArrayAdapter(
          NetPlay.this, R.layout.rowlayout,      friends);
  listView.setAdapter(friendsArrayAdapter);
  friendsArrayAdapter.notifyDataSetChanged();
  </code></pre>
  
  <p>and Then I want to handle onClick events within this listview, to copy the contents of that list view to a variable:</p>
  
  <pre><code>listView.setClickable(true);
  listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
          @Override
          public void onItemClick(AdapterView&lt;?&gt; arg0, View arg1, 
                  int position, long arg3) {
  
             Object o = listView.getItemAtPosition(position);
             Object o = arg0.getItemAtPosition(position);
  
           //mText.setText(o);
          }
   });
  </code></pre>
  
  <p>Now this all works fine, but the value returned is the actual Object ID/Reference 
  Shows as something@Friends.21312. What I want is the actual contents which should be a Name + ID. </p>
  
  <p>Is this even possible or do I need to redo my whole list view population?</p>