julian
02/15/2021, 7:56 PMjulian
02/15/2021, 8:06 PMjulian
02/15/2021, 8:33 PMjulian
02/15/2021, 9:23 PMjulian
02/15/2021, 9:24 PMsimon.vergauwen
02/16/2021, 11:34 AMEither implement Serializable or certainly not Parcelable with the reason being that we'd need to constraint A and B to also be Serializable. (and Parcelable requires a dependency on Android).simon.vergauwen
02/16/2021, 11:35 AMTempItemId and PermItemId into Intent by unwrapping it from Either using fold or when and to wrap it again when you extract it from the Intentstojan
02/16/2021, 12:31 PMstojan
02/16/2021, 12:32 PMsimon.vergauwen
02/16/2021, 1:50 PMinterface Serializable with no methods. I thought it was like interface Comparable which requires you to restrict A and B to be A : Comparable and B : Comparable in order to correctly implement compareTo.simon.vergauwen
02/16/2021, 1:52 PMSerializable unless you need to inter-opt with legacy systems. Making Either Serializable for putting it in an Intent seems backwards since on Android Parcelable is definitely the way to go and not Serializable.stojan
02/16/2021, 2:35 PMjulian
02/16/2021, 7:43 PMsimon.vergauwen
02/24/2021, 3:41 PMstojan
02/24/2021, 3:42 PMstojan
02/24/2021, 4:00 PMstojan
02/24/2021, 4:00 PM