package com.github.hunter0x7c7.sync.model.data.source;
|
|
import com.github.hunter0x7c7.sync.model.bean.PhotoBean;
|
import com.github.hunter0x7c7.sync.model.data.result.ResultEntity;
|
import io.reactivex.Observable;
|
|
/**
|
* ================================================================
|
* <p>
|
* 版 权: Hunter(c)2020
|
* <p>
|
* 作 者: Hunter
|
* <p>
|
* 版 本: V1.0
|
* <p>
|
* 创建日期: 2020/7/30 16:11
|
* <p>
|
* 描 述:网络数据源
|
* <p>
|
* <p>
|
* 修订历史:
|
* <p>
|
* ================================================================
|
*/
|
public interface HttpDataSource {
|
|
/**
|
* 获取图片列表
|
*/
|
Observable<ResultEntity<PhotoBean>> getImageList(String mode, int index, int size, String key);
|
|
}
|