Skip to content

Instantly share code, notes, and snippets.

@burakeregar
Created December 2, 2017 00:09
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 burakeregar/2943078eef53b78bc02e64733fc13ef0 to your computer and use it in GitHub Desktop.
Save burakeregar/2943078eef53b78bc02e64733fc13ef0 to your computer and use it in GitHub Desktop.
package com.burakeregar.kotlinparcelize
import android.os.Parcelable
import kotlinx.android.parcel.Parcelize
/**
* Created by Burak Eregar on 1.12.2017.
* burakeregar@gmail.com
* https://github.com/burakeregar
*/
@Parcelize
data class PersonModel(val name: String, val age: Int) : Parcelable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment