d

    dimsuz

    1 year ago
    I have a horizontal
    LazyRow
    inside a particular page on an accompanyist
    Pager
    and while this lazy row is being horizontally scrolled I want to disable horizontal swipe of Pager's pages. How can this be achieved?
    Ravi

    Ravi

    1 year ago
    I’ve tried adding
    lazyRow
    to HorizontalPagerTabsSample, swipe happens only after reaching to start/end of
    lazyRow
    . If you want to disable
    Pager
    swipe completely, u can toggle
    dragEnabled
    of
    Pager
    as per your use case
    b

    Berkeli Alashov

    1 year ago
    That seems to be correct behavior but you can use
    dragEnabled
    param of
    HorizontalPager
    based on some state.
    d

    dimsuz

    1 year ago
    Thank you!