Thread
#compose
    Ahmed Mourad

    Ahmed Mourad

    1 year ago
    Hey everyone, I'm building a simple 
    DatePicker
     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

    1 year ago
    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.
    Ahmed Mourad

    Ahmed Mourad

    1 year ago
    @ste Yup, I was mainly worried that I'm doing something wrong that caused the lag.