GraphObjectList
В последней версии SDK этот класс не доступен.
Доступна более новая версия данного класса. Посетите текущую версию.

GraphObjectList is the primary representation of a collection of graph objects in the Facebook SDK for Android. It is not implemented by any concrete classes, but rather by a proxy (see the Factory class). A GraphObjectList can actually contain elements of any type, not just graph objects, but its principal use in the SDK is to contain types derived from GraphObject.

Реализует:List
Пакет:model
Методы экземпляра
castToListOf(Class)

If T is derived from GraphObject, returns a new GraphObjectList exposing the same underlying data as a new GraphObject-derived type.

public GraphObjectList castToListOf(Class graphObjectClass)
ПараметрОписание
graphObjectClassThe GraphObject-derived type to return a list of
Returns
A list representing the same underlying data, exposed as the new GraphObject-derived type
getInnerJSONArray()

Gets the underlying JSONArray representation of the data.

public JSONArray getInnerJSONArray()
Returns
The underlying JSONArray representation of the data