Created
June 27, 2018 08:35
-
-
Save nikhilbansal97/a39bb5a13e905cdac36a45ff8389d6f2 to your computer and use it in GitHub Desktop.
The model class for the SampleMVP project.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.nikhil.samplemvp.model | |
import com.example.nikhil.samplemvp.contract.ContractInterface.* | |
class MainActivityModel: Model { | |
private var mCounter = 0 | |
override fun getCounter()= mCounter | |
override fun incrementCounter() { | |
mCounter++ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment