Skip to content

Instantly share code, notes, and snippets.

@HassanUsman
Created October 30, 2017 03:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HassanUsman/3e4e9a2be09c4d1c5288be495cbfd9a8 to your computer and use it in GitHub Desktop.
Save HassanUsman/3e4e9a2be09c4d1c5288be495cbfd9a8 to your computer and use it in GitHub Desktop.
class Repository(repositoryName : String, var repositoryOwner: String?, var numberOfStars: Int?
, var hasIssues: Boolean = false) : BaseObservable(){
@get:Bindable
var repositoryName : String = ""
set(value) {
field = value
notifyPropertyChanged(BR.repositoryName)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment