Android Open Source - reactive-android-demo Cursor






From Project

Back to project page reactive-android-demo.

License

The source code is released under:

Apache License

If you think the Android project reactive-android-demo listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.example.listviewdemo.schema;
//from   w  ww  .  j a va2  s  .c om
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.apache.commons.lang3.builder.ToStringBuilder;

public class Cursor {

    private String resultCount;
    private List<Page> pages = new ArrayList<Page>();
    private String estimatedResultCount;
    private int currentPageIndex;
    private String moreResultsUrl;
    private String searchResultTime;
    private Map<String, Object> additionalProperties = new HashMap<String, Object>();

    public String getResultCount() {
        return resultCount;
    }

    public void setResultCount(String resultCount) {
        this.resultCount = resultCount;
    }

    public List<Page> getPages() {
        return pages;
    }

    public void setPages(List<Page> pages) {
        this.pages = pages;
    }

    public String getEstimatedResultCount() {
        return estimatedResultCount;
    }

    public void setEstimatedResultCount(String estimatedResultCount) {
        this.estimatedResultCount = estimatedResultCount;
    }

    public int getCurrentPageIndex() {
        return currentPageIndex;
    }

    public void setCurrentPageIndex(int currentPageIndex) {
        this.currentPageIndex = currentPageIndex;
    }

    public String getMoreResultsUrl() {
        return moreResultsUrl;
    }

    public void setMoreResultsUrl(String moreResultsUrl) {
        this.moreResultsUrl = moreResultsUrl;
    }

    public String getSearchResultTime() {
        return searchResultTime;
    }

    public void setSearchResultTime(String searchResultTime) {
        this.searchResultTime = searchResultTime;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }

    public Map<String, Object> getAdditionalProperties() {
        return this.additionalProperties;
    }

    public void setAdditionalProperties(String name, Object value) {
        this.additionalProperties.put(name, value);
    }

}




Java Source Code List

com.example.listviewdemo.MLog.java
com.example.listviewdemo.MainActivity.java
com.example.listviewdemo.SearchResultAdapter.java
com.example.listviewdemo.data.API.java
com.example.listviewdemo.data.ListItemImage.java
com.example.listviewdemo.schema.Cursor.java
com.example.listviewdemo.schema.GoogleImageSearchResponse.java
com.example.listviewdemo.schema.Page.java
com.example.listviewdemo.schema.ResponseData.java
com.example.listviewdemo.schema.Result.java