B4J Tutorial Use Timelines to 'slide' listviews

Discussion in 'B4J Tutorials' started by Daestrum, Apr 30, 2015.

  1. Daestrum

    Daestrum Well-Known Member Licensed User

    Using timelines, it's possible for two (or more if you change code) listviews to occupy the same space on a form.
    This demo will slide one listview, revealing the hidden listview. (A bit like swiping in android)
    The method is not limited to listviews, it could work equally well with tableviews etc, just minor changes to the java code required.

    The only thing is to remember to place them on the layout in the correct order, second one is behind first one. You can use 'send to back' to get them in the right order. Also they must be the same size ( w x h).

    Attached Files:

    spairo and alienhunter like this.
  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