Is there a difference in accessing values directly vs defining a variable and then using it inside c...
k
Is there a difference in accessing values directly vs defining a variable and then using it inside composables ? • LocalConfiguration.current • val config = LocalConfiguration.current Use
config
s
Assuming that you don't override this local, it is semantically the same Performance wise, variable is better for repeated access
šŸ™ 1
šŸ‘ 1