Hi,
Sent a email to you with some new actions.
Basically, as a general hanlding strategy of Facebook graph return, I recommand the following approach:
if your data content has only two rows, then use a hashtable, one row as the key and the other as the value,
in case of fb friends, you have friendid and friendname. Simply put the friendid as key and then friendname as value within a hashtable and done.
If you have more complex data with more rows basically, simply create as much arrayList as there are rows and inject in each the corresponding value. You will then be able to retrieve values for a specific index in that "list" made out of several arrayList.
Say we had friends with date of birth too. we would have three rows to manager
friendId,FriendName,FriendDob
have three arrayLists, one for id, one for name and one for dob.
find in the name arrayList, the index of a certain friend name, you can then get its date of birht ba getting the value in the dob arrayList under the same index.
Does that make sense?
bye,
Jean