Newer
Older
MonCalc / app / src / main / kotlin / jackall / moncalc / viewmodel / OverlayViewModel.kt
package jackall.moncalc.viewmodel

import android.databinding.BaseObservable
import android.view.View
import jackall.moncalc.contract.MainServiceContract

/**
 * オーバーレイ表示で共通項目のViewModel
 *
 * Created by matsumoto_k on 2017/11/03.
 */
class OverlayViewModel(val mainServiceContract: MainServiceContract) : BaseObservable() {
    fun onClickMin(view: View) {
        mainServiceContract.showMoveView()
    }

    fun onClickFinish(view: View) {
        mainServiceContract.finish()
    }
}