B4A Library [B4X] SnapCLV - Move to the nearest item

Discussion in 'Additional libraries, classes and official updates' started by Erel, Sep 12, 2019.

  1. Erel

    Erel Administrator Staff Member Licensed User

    SnapCLV is a very simple class that adds a "snap" feature to xCLV in vertical mode. When the user stops scrolling the list the list scrolls to the nearest item so the top item will not be partially hidden.

    It is compatible with B4A, B4i and B4J

    Note that you need to call snap.ScrollChanged from the ScrollChanged event.
     

    Attached Files:

  2. Erel

    Erel Administrator Staff Member Licensed User

  3. Johan Hormaza

    Johan Hormaza Active Member Licensed User

    Beautiful!:)
     
  4. T201016

    T201016 Member Licensed User

    An interesting solution to a problem I was also thinking about. Good job:)
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice