use of com.abewy.android.apps.klyph.core.fql.serializer.LinkDeserializer in project Klyph by jonathangerbaud.
the class LinkRequest method handleResult.
@Override
public ArrayList<GraphObject> handleResult(JSONArray[] result) {
JSONArray links = result[0];
JSONArray profiles = result[1];
JSONArray pics = result[2];
assocData2(links, profiles, "owner", "id", "owner_name", "name", "owner_type", "type");
assocData2(links, profiles, "via_id", "id", "via_name", "name", "via_type", "type");
assocData(links, pics, "owner", "id", "owner_pic", "url");
LinkDeserializer sDeserializer = new LinkDeserializer();
ArrayList<GraphObject> link = (ArrayList<GraphObject>) sDeserializer.deserializeArray(links);
setHasMoreData(false);
return link;
}
Aggregations