package com.wangdaye.mysplash.common.i.model;
import com.wangdaye.mysplash.common.data.service.FollowingService;
import com.wangdaye.mysplash.common.ui.adapter.FollowingAdapter;
/**
* Following model.
*
* Model for {@link com.wangdaye.mysplash.common.i.view.FollowingView}.
*
* */
public interface FollowingModel {
FollowingAdapter getAdapter();
FollowingService getService();
// manage HTTP request parameters.
/** {@link com.wangdaye.mysplash.common.data.api.FollowingApi#getFollowingFeed(String)} */
String getFirstPage();
String getNextPage();
void setNextPage(String nextPage);
// control load state.
boolean isRefreshing();
void setRefreshing(boolean refreshing);
boolean isLoading();
void setLoading(boolean loading);
/** The flag to mark the photos already load over. */
boolean isOver();
void setOver(boolean over);
}