kassim02/19/2019, 10:27 AM
I wanted to prevent T from extending MutableCollection - but with your solution the new constructor shares the same JVM signature as the original
class BehaviorRelayUpdateOnlyProperty<T>(relay: BehaviorRelay<T>) : BehaviorRelayProperty<T>(relay)
constructor(mutablePropertyRelay: BehaviorRelay<MutableCollection<*>>) : this(mutablePropertyRelay)
karelpeeters02/19/2019, 11:36 AM
? In the end I think this really should be a lint check instead.