You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
360 B

package com.community.pocket.util;
import org.jetbrains.annotations.NotNull;
import okhttp3.Call;
import okhttp3.Response;
/**
* 解析接口返回数据
*
* @param <T> 转化实体类型
*/
public interface HttpParse<T extends com.community.pocket.ui.main.ui.share.Response> {
void onParseOk(@NotNull Call call, @NotNull Response response, T t);
}