package net.poksion.chorong.android.api;

import java.util.ArrayList;
import java.util.List;
import net.poksion.chorong.android.annotation.NonNull;
import net.poksion.chorong.android.annotation.Nullable;

public interface GoogleSheetApi {
    class Result extends ApiResult<List<String[]>> {
        Result() {
            data = new ArrayList<>();
        }

        public boolean paging = false;
        public boolean lastPageHint = false;
    }

    Result getSheetByName(
            @NonNull String loginToken,
            @NonNull String docName,
            @Nullable String sheetName,
            int colCnt,
            int rowCnt,
            int pageIdx);

    Result getSheetById(
            @Nullable String loginToken,
            @NonNull String worksheetId,
            @Nullable String sheetName,
            int colCnt,
            int rowCnt,
            int pageIdx);
}

package net.poksion.chorong.android.api;

import java.util.ArrayList;
import java.util.List;
import net.poksion.chorong.android.annotation.NonNull;
import net.poksion.chorong.android.annotation.Nullable;

public interface GoogleSheetApi {
    class Result extends ApiResult<List<String[]>> {
        public Result() {
            data = new ArrayList<>();
        }

        public boolean paging = false;
        public boolean lastPageHint = false;
    }

    Result getSheetByName(
            @NonNull String loginToken,
            @NonNull String docName,
            @Nullable String sheetName,
            int colCnt,
            int rowCnt,
            int pageIdx);

    Result getSheetById(
            @Nullable String loginToken,
            @NonNull String worksheetId,
            @Nullable String sheetName,
            int colCnt,
            int rowCnt,
            int pageIdx);
}

change sheet api result constructor visibility for other projects presenter test