/tripkit/TripKitAndroidUIDomain/com.skedgo.tripkit.tripplanner/PinUpdate
PinUpdate
sealed class PinUpdate
Inheritors
| Delete |
| Create |
Types
| Name | Summary |
|---|---|
| Create | data class Create(val type: NonCurrentType) : PinUpdate |
| Delete | object Delete : PinUpdate |
Functions
| Name | Summary |
|---|---|
| match | fun match(onDelete: Action, onCreate: Consumer<PinUpdate.Create>) This is to avoid instanceof if we use PinUpdate with Java. |