https://kotlinlang.org logo
#squarelibraries
Title
# squarelibraries
k

kevin.cianfarini

02/10/2023, 10:34 PM
There's generally two solutions: 1. lift all of your "member" presenter code out into a top level (potentially private) function in the file. 2. key most things by
this
. we've opted for the former because it's a more easily enforced pattern.
e

eygraber

02/12/2023, 1:39 AM
Wouldn't another solution be to ensure that you never have more than one instance in a composition?
4 Views