Join Slack
Communities
Powered by
<@U3DTVBXD4> commented on <@U3DTVBXD4>’s file <htt...
# getting-started
u
user
02/01/2017, 12:19 AM
@frank
commented on
@frank
’s file
https://kotlinlang.slack.com/files/U3DTVBXD4/F3Z3H9H8B/Implementing_sealed_state_changes_with_normal_and_data_classes.kt
: I'm guessing the closest I could get to an empty constructor is adding
val unit:Unit
, as this doesn't contain any information, but this doesn't really provide a clean toString():
FirstPageLoading(unit=kotlin.Unit)
Implementing_sealed_state_changes_with_normal_and_data_classes.kt
Open in Slack
Previous
Next