It's much shorter code:
gradle file:
apply plugin: 'org.jetbrains.kotlin.android.extensions'
androidExtensions {
experimental = true
}
sample code of a class with 3 Dates in it:
@SuppressLint("ParcelCreator")
@Parcelize
class MonthItem(val today: Date, val startDate: Date, val endDate: Date) : Parcelable {
}
The plugin here will only ask us which fields to add there, and which to ignore. Maybe also the order.
It's much shorter code:
gradle file:
apply plugin: 'org.jetbrains.kotlin.android.extensions'
androidExtensions {
experimental = true
}
sample code of a class with 3 Dates in it:
The plugin here will only ask us which fields to add there, and which to ignore. Maybe also the order.