blob: 7ca883068fed8072daf0921fe8e3316ea9fa073e [file] [log] [blame]
package org.apache.fineract.ui.online.customers.customerprofile.editcustomerprofilebottomsheet;
import org.apache.fineract.ui.base.MvpView;
import org.apache.fineract.ui.refreshcallback.RefreshProfileImage;
import java.io.File;
/**
* @author Rajan Maurya
* On 06/08/17.
*/
public interface EditCustomerProfileContract {
interface View extends MvpView {
void showUserInterface();
void setCustomerIdentifier(String customerIdentifier);
void setRefreshProfileImage(RefreshProfileImage refreshProfileImage);
void checkWriteExternalStoragePermission();
void checkReadExternalStoragePermission();
void openCamera();
void viewGallery();
void showImageSizeExceededOrNot();
void requestWriteExternalStorageAndCameraPermission();
void requestReadExternalStoragePermission();
void showPortraitUploadedSuccessfully();
void showPortraitDeletedSuccessfully();
void showProgressDialog(String message);
void hideProgressDialog();
void showMessage(String message);
}
interface Presenter {
void uploadCustomerPortrait(String customerIdentifier, File file);
void deleteCustomerPortrait(String customerIdentifier);
}
}