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 8246113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T22:24:03+00:00 2026-06-07T22:24:03+00:00

Hello I set values in ArrayList Now how can I store that values in

  • 0

Hello I set values in ArrayList Now how can I store that values in different textviews.

For Example:

ArrayList<String> mylist =new ArrayList<String>();
for(int i=0;i<mylist.size();i++)
{
    //Here mylist contains 10 values and I have 10 different textviews. Now How can i add values 1 to 10 in different textview. set value to First textview 1,second textview to 2 etc.
}

Please Help me to find this.

  • 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-06-07T22:24:05+00:00Added an answer on June 7, 2026 at 10:24 pm

    This is the way::

    TextView []tv=new TextView[10];
    tv[0]=(TextView)findViewById(R.id.____);
    tv[1]=(TextView)findViewById(R.id.____);
    tv[2]=(TextView)findViewById(R.id.____);
    tv[3]=(TextView)findViewById(R.id.____);
    tv[4]=(TextView)findViewById(R.id.____);
    tv[5]=(TextView)findViewById(R.id.____);
    tv[6]=(TextView)findViewById(R.id.____);
    tv[7]=(TextView)findViewById(R.id.____);
    tv[8]=(TextView)findViewById(R.id.____);
    tv[9]=(TextView)findViewById(R.id.____);
    
    for(int i=0;i<mylist.size();i++)
    {
      tv[i].setText(mylist.get(i));
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

hello, how can i set cookies like 'last_visit' if the user have more than
Hello I'm working on a problem that requires me to change an set array
Hello I have like this 2 tables class User public int UserId{get;set;} { ....
Hello Im working on a django project where i want to store a set
Hello im trying to use random integer range and the values that i get
Hello I set the orientation to Landscape(by Eclipse icon flip orientation), but when i
Hello I need to do something like this: UPDATE tbl SET pozn=CONCAT(pozn, '+attach_str+') WHERE
Hello my main issue is how to use MKAnnotationView to set a custom pin
Hello I been trying to figure out how to set up ASP.Net forms authentication
hello guys i am trying to print title from a set of urls in

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.