-
-
Save nsadisha/88cccfe63c7e7ae0f3ee50d17e19bbd7 to your computer and use it in GitHub Desktop.
This file contains 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.nsadisha.mvvmtest_2.model | |
class Counter(_count: Int){ | |
var count: Int = _count | |
fun increment(){ | |
this.count += 1 | |
} | |
override fun toString(): String { | |
return count.toString() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment