Android Question How do I create a table page when ReachEnd is in xCustomListView?

Discussion in 'Android Questions' started by Sapta, Jun 18, 2018.

  1. Sapta

    Sapta Member Licensed User

    Hi all,

    Based on this example I want to display data per page of 20 items.

    When ReachEnd it will be loading to the next page. But how to handle this because when I scroll down, 3 items at once appear, how can I order 1 item that appears. This will disrupt the page that I will use, when scroll down, will appear 3 x 20 items.

    Please help me or sample the code, thank you

    Last edited: Jun 23, 2018
  2. Erel

    Erel Administrator Staff Member Licensed User

    Please edit your post and upload a smaller image.
  3. Sapta

    Sapta Member Licensed User

    Hi @Erel,

    I have changed the image size, is there any solution about this?
    How to do when the position has been last, just 1 time to refresh the data.

    Thank you.
  4. Erel

    Erel Administrator Staff Member Licensed User

    Store the last ReachEnd event time and ignore events that happen too frequently:
    Sub ReachEnd
    If DateTime.Now < LastReachEndTime + 3 * DateTime.TicksPerSecond Then Return
     LastReachEndTime = 
    DateTime.Now 'LastReachEndTime is a Long global variable.
    MarcoRome and Sapta 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