Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7023541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:43:27+00:00 2026-05-27T23:43:27+00:00

In my application I am getting data from server and showing it using a

  • 0

In my application I am getting data from server and showing it using a table layout some times I am getting a data of atleast 20 to 30 rows but I want to show 4 rows at a time and then I want to show another 4 etc.

For this I want to know how can we use paging (Previous/Next) in Android if it’s not possible with tablelayout can any one suggest which field can give that facility I aleady tried with GridView also but no luck

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:43:27+00:00Added an answer on May 27, 2026 at 11:43 pm

    You can try this way …

    Store parsed data in List(or whatever) and create a method say createRows() which takes list as its argument and using list create rows.

    So from your main list (parsed data list) create a sublist of size 4 and pass it to method. So initially it will create table with 4 row (as your requirement).

    And on your next button first remove table’s current rows using removeAllViews() method and then extract another sublist containing next 4 data to be shown & again pass it to createRows() method.So now it will create table with new data.

    Same thing can be applied to previous button.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i m using this code for posting and getting the data from the server.
I have a silverlight 3 application, that fetches some simple data from a ms-sql-server
I'm getting some html data from remote server and before displaying it in the
I am POSTING some data from an IPhone application want want to be able
I am getting json data as a response back from the server. I want
i am getting web data from .net web server using NSMutableUrl request. i am
I want to fetch some data from a server protected with an username and
I have a magazine application i want that it load file from server and
I have an application which needs to load data from a remote server (businesses
I am wondering with this behavior. In my application I am getting data from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.