class TravelNotesPresenter implements TravelNotesContract.Presenter {

    @Override
    public int refreshData(String key,int page,boolean isNote) {
        page = 1;
        if(isNote) {
            loadData(key, page);
        }else{
            loadData(key, page,10);
        }
        return page;
    }

    public  TravelNotesPresenter(TravelNotesContract.View view, TravelNotesActivity obj);

}