Skip to content

Commit

Permalink
refactor #1450: edit profile migrated from java to kotlin
Browse files Browse the repository at this point in the history
  • Loading branch information
PratyushSingh07 authored and therajanmaurya committed Jan 12, 2024
1 parent b362832 commit 0a0347a
Show file tree
Hide file tree
Showing 6 changed files with 732 additions and 791 deletions.

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

0 comments on commit 0a0347a

Please sign in to comment.