and I'm trying to display all the days of the month, e.g. 1..31
I tried using a column of rows for each month, with the months being displayed in a
Pager
, similar to a regular
DatePicker
.. However, the performance of it was pretty terrible.
I replaced the rows and columns with a
LazyVerticalGrid
, the performance improved significantly, although a stutter could still be seen when moving between pages.
Is anyone else experiencing similar performance problems? I am testing on a middle-end phone, but the old Android
DatePicker
and
ViewPager
work fine on it.
s
ste
05/05/2021, 7:46 AM
Keep in mind compose is still in beta, so performance is not a priority. I'm facing a similar problem with LazyVerticalGreed: it gets laggy when several elements are displayed. This only happens on my real phone tho.
👍 1
a
Ahmed Mourad
05/11/2021, 5:01 PM
@ste Yup, I was mainly worried that I'm doing something wrong that caused the lag.