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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:16:25+00:00 2026-05-17T17:16:25+00:00

guys. I need an advice. What is the best way to implement in android

  • 0

guys.
I need an advice. What is the best way to implement in android a list of such UI elements (see the ref)
A list contains a lot of such elements (about 30-40). I’m using now relative layout and 4 text fields and I think it isn’t a good way… I think it’s too heavy (full list will contain: 30 relative layouts and 30*5 = 150 text fields).

Any suggestions how to make it more lightweight?

Thanks guys )

  • 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-17T17:16:26+00:00Added an answer on May 17, 2026 at 5:16 pm

    That view is fairly straightforward, and performancewise should be no problem at all as long as you use a ListView with a ListAdapter that properly utilizes view recycling and the holder pattern (see the Android API Demos List14 demo for a good example of that). That means your row view will only be inflated (the expensive part) a few times, and after that you’ll simply be populating an existing row that has moved off screen with new information to be rerendered, so in reality there end up being only 6 or 7 instances of your row view in memory, not 40.

    Caveats: Make sure you’re not doing anything that blocks the UI thread in your adapter’s view inflation/population, like loading an image from the network or making random expensive SQLite queries, since this will noticeably affect experience during scrolling. Most of that sort of work should be done in background threads, usually with a delay to not kick off mid-scroll (see Brad Fitzpatrick’s 2010 IO talk for more on that).

    I highly reccommend watching Romain Guy’s presentations from Google I/O 2009/2010 on UI speedups mostly relating to ListView to all Android developers. The 2009 one is a bit old (Cupcake era) but both have lots of goodies on listviews and view recycling and some real-world benchmarks on the benefits, and some other less-obvious performance killer warnings (like “don’t allocate objects in your adapter’s getView()” — causing GC is bad.)

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

Sidebar

Related Questions

hello guys i need to sort some elements of integer in an integer array
Need some Advice on how to reference elements with jQuery (DOM/Traversing/Selectors). Sometimes its just
I need your advice guys. I am developing a web browser application for mobile
I'm creating somekind of flowchart builder on JS. I need an advice about how
I need an advice from you guys on the design of my app here,
I am working on databases and now I need some advice's from you guys..
I need some valuable advice from you guys... I have a UI where I
Would you guys give me an advice? I need to build an uploader with
I am working on databases and now I need some advice's from you guys..
Hie guys i need help with my code. I have a form where a

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.