B4A Library [B4X] CLVHeader - Add a nice animated header to xCustomListView

Discussion in 'Additional libraries, classes and official updates' started by Erel, Apr 30, 2019.

  1. Erel

    Erel Administrator Staff Member Licensed User

    This is a replacement to the modified CLV class (https://www.b4x.com/android/forum/t...tview-with-animated-header.84245/#post-659768).

    The two attached projects demonstrate how to use it. Note that pnlTop is positioned above CLV (top position is the same).

    You need to handle the ScrollChanged event and delegate it to CLVHeader:
    Sub CustomListView1_ScrollChanged (Offset As Int)
    End Sub
    Image source (Informatix example): https://www.b4x.com/android/forum/threads/header-with-parallax-effect-for-ulv.97820/

    The class is included in the examples.
    Depends on (j/i)XUI and xCustomListView libraries.

    Attached Files:

    Jack Cole, ilan, tuhatinhvn and 22 others like this.
  2. Johan Hormaza

    Johan Hormaza Active Member Licensed User

  3. DonManfred

    DonManfred Expert Licensed User

    1. You should post errors as TEXT
    2. Did you created your own layout with the customview instead of copying the layout from the example?
  4. DonManfred

    DonManfred Expert Licensed User

    means you copied the bal file to your project and use it?

    Create a NEW design adding the correct object in your app.

    Away from that you should have created a new thread. we will fill this thread with not needed posts......
    Don´t expect any more answer from me in this thread.
    Johan Hormaza likes this.
  5. Carlos marin

    Carlos marin Active Member Licensed User

    Great! thanks Erel
  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