PagingQueryResult

public class PagingQueryResult<T>

Constructors

Link copied to clipboard
public void PagingQueryResult()
public void PagingQueryResult(String pageToken, int totalCount, List<T> data)
public void PagingQueryResult(Parcel in)

Properties

Link copied to clipboard
public final static Creator<PagingQueryResult> CREATOR
Link copied to clipboard
public List<T> data
数据列表
Link copied to clipboard
public String pageToken
当前页标识,请求下一页数据时需携带
Link copied to clipboard
public int totalCount
总数,非所有接口提供此字段

Functions

Link copied to clipboard
public int describeContents()
Link copied to clipboard
public List<T> getData()
Link copied to clipboard
public String getPageToken()
Link copied to clipboard
public int getTotalCount()
Link copied to clipboard
public void setData(List<T> data)
Link copied to clipboard
public void setPageToken(String pageToken)
Link copied to clipboard
public void setTotalCount(int totalCount)
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)