Why do you use a LazyColumn rather than a Column with verticalScroll modifier in logins template? #60
Unanswered
danielesegato
asked this question in
Q&A
Replies: 1 comment
-
Hey @danielesegato Thanks for the great question. But YES, in Login page case we can use verticalScroll with just plain Column. Using LazyColumn is not necessary at all. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Your login template uses a LazyColumn with 1 item for each ui component (labels, text fields etc.)
I was wondering if there's any particular reason I'm missing for that: sure you might go out of the screen with some component at any given time, but other than that the number of items is fixed and not likely to grow.
I would have probably just use a Column with a verticalScroll modifier, if you'd want to convince me to use a LazyColumn instead what would you say? :)
Thanks (nice repository)
Beta Was this translation helpful? Give feedback.
All reactions