Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
class AddressItem(var addressId:String,var addressName:String,var houseName:String,var locality:String,var landmark:String,
var latitude:Double,var longitude:Double) : Serializable{
constructor():this("","","","","",0.0,0.0)
fun getAddress():String{
var address = "$houseName, $locality. Landmark: $landmark"
return address
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.