package com.yydcdut.note.presenters.home; import android.net.Uri; import com.yydcdut.note.presenters.IPresenter; import java.util.ArrayList; /** * Created by yuyidong on 15/11/20. */ public interface IAlbumPresenter extends IPresenter { void bindData(int categoryId); void checkSandBox(); void setAlbumSort(int sort); void saveAlbumSort(); int getAlbumSort(); void jump2DetailActivity(int position); void updateFromBroadcast(boolean broadcast_process, boolean broadcast_service, boolean broadcast_photo); void sortData(); void changeCategoryWithPhotos(int categoryId); void movePhotos2AnotherCategory(); void changePhotosCategory(int categoryId); void deletePhotos(); void createCategory(String newCategoryLabel); void savePhotoFromLocal(Uri imageUri); void savePhotoFromSystemCamera(); void savePhotosFromGallery(ArrayList<String> list); void jump2Camera(); boolean checkStorageEnough(); int calculateGridNumber(); }