package co.tiagoaguiar.course.instagram.register

import android.net.Uri
import co.tiagoaguiar.course.instagram.common.base.BasePresenter
import co.tiagoaguiar.course.instagram.common.base.BaseView

interface RegisterPhoto {

  interface Presenter : BasePresenter {
    fun updateUser(photoUri: Uri)
  }

  interface View: BaseView<Presenter> {
    fun showProgress(enabled: Boolean)

    fun onUpdateFailure(message: String)

    fun onUpdateSuccess()
  }

}