I have been at this for hours now and I just have no idea on how to pass a byte[] array to another view when I call OnItemClick
. I have tried converting the byte array to a string and back but that doesn't work. I can't do get(position)
like I could on a normal string array.
Sorry if this is basic but I honestly have no clue on how to due this.
@Override
public void onItemClick(AdapterView<?> parent, View view, int position,
long id) {
if (view.equals(footerView)) {
footerView.showProgress();
List<Status> olderTimeline = loadOlderTweets();
insertTimeline(olderTimeline);
attachAdapter();
} else {
// i want to do something like this on the byte[] array
result_pos = timeline_arg.get(position);
Intent i = new Intent(getSherlockActivity(), TDetailActivity.class);
i.putExtra("username", result_pos.get("username"));
}
}