Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor #1450: edit profile migrated from java to kotlin #1451

Merged
merged 1 commit into from
Jan 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
package org.mifos.mobilewallet.mifospay.editprofile

import org.mifos.mobilewallet.mifospay.base.BasePresenter
import org.mifos.mobilewallet.mifospay.base.BaseView

/**
* Created by ankur on 27/June/2018
*/
interface EditProfileContract {
interface EditProfilePresenter : BasePresenter {
fun fetchUserDetails()
fun handleNecessaryDataSave()
fun updateInputById(id: Int, content: String?)
fun updateEmail(email: String?)
fun updateMobile(fullNumber: String?)
fun handleProfileImageChangeRequest()
fun handleProfileImageRemoved()
fun handleClickProfileImageRequest()
fun handleExitOnUnsavedChanges()
fun onDialogNegative()
fun onDialogPositive()
}

interface EditProfileView : BaseView<EditProfilePresenter?> {
fun showDefaultImageByUsername(fullName: String?)
fun showUsername(username: String?)
fun showEmail(email: String?)
fun showVpa(vpa: String?)
fun showMobileNumber(mobileNumber: String?)
fun removeProfileImage()
fun changeProfileImage()
fun clickProfileImage()
fun onUpdateEmailError(message: String?)
fun onUpdateMobileError(message: String?)
fun showToast(message: String?)
fun showFab()
fun hideFab()
fun hideKeyboard()
fun startProgressBar()
fun stopProgressBar()
fun showDiscardChangesDialog()
fun closeActivity()
}
}

This file was deleted.

Loading
Loading