https://kotlinlang.org logo
c

carlw

07/12/2018, 1:54 PM
instead, factor out the data (items, a selected item, etc) and use those throughout the program. a first order refactor can bring these member fields accruing at the top of the file into a separate object that can be shared through CDI (context dependency injection)