Skip to content

Instantly share code, notes, and snippets.

@sandipsavaliya112
Created June 9, 2020 08:28
Show Gist options
  • Save sandipsavaliya112/dd30ef32f7d7e5c495d22507d430f31f to your computer and use it in GitHub Desktop.
Save sandipsavaliya112/dd30ef32f7d7e5c495d22507d430f31f to your computer and use it in GitHub Desktop.
class Trip : BaseModel(R.layout.item_trip){
var from : String = ""
var to : String = ""
fun onClick(view: View){
Toast.makeText(view.context,"Trip => from : $from, to : $to", Toast.LENGTH_SHORT).show()
}
}
class Progress: BaseModel(R.layout.progress)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment