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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T21:03:03+00:00 2026-05-22T21:03:03+00:00

Hello I am writing a rather large app and on the main page I

  • 0

Hello I am writing a rather large app and on the main page I would like the option to search through all of the pages. Because I need to get and display the different types of information in different ways I have made a few subclasses of ArrayAdapters and I am connecting them to different ListViews on my search results page. This all works fine.

The problem is that the result sets are sometimes too large to fit on a single screen. The result is that I can’t scroll past the first set of results to see the other listViews. I have tried to put the listViews into a scrollView but I am getting this error:

java.lang.UnsupportedOperationException: addView(View, LayoutParams) is not supported in AdapterView

I have done some research on this problem and most people that get it seem to be getting it for completely different reasons. The code totally works if it is not in a scrollview (except the scrolling) but nesting the listViews seems to make the program mad and it wont even get past setContentView.

So my questions are:

  1. Am I approaching this correctly? Is there a way to display several Adapters at the same time in 1 listview?

  2. Is there any way to scroll without adding a scrollview?

  • 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-22T21:03:04+00:00Added an answer on May 22, 2026 at 9:03 pm
    1. Generally putting multiple listviews in one Activity isn’t a good thing if it requires lots of scrolling. Having said that, all UI’s are different, so if that’s how you want to do it then post some code and we can help you troubleshoot that exception.

    Personally, I would create multiple “activities” with some sort of menu system (like a simple static website) to link them together. Or if you truly want one page, use a button to page through each listview, where each button click removes the previous and populates the next.

    2 No, unfortunately you can’t use more than the device’s screensize without a scrollview.

    Welcome to Stackoverflow – I rather like your username…

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

Sidebar

Related Questions

Hello I'm writing a little project in c++ where I would like to have
Hello i would like do somthing like that: <?php $count = 0; foreach($a as
hello all i have one json object like {event1:{title:My birthday,start:12\/27\/2011 10:20 ,end:12\/27\/2011 00:00 },event2:{title:My
Hello I am writing an app that makes the use of coordinates from a
Hello I am writing some jquery plugins, i read some tutorials finding all clear.
hello i am writing a java program to remove all comment from a string
Hello All I am writing some software that will allow users to create their
Hello everyone I am writing a web app in aspx, My site language is
Hello I'm writing a little Android app (Version 2.3.3). Now i get this strange
Hello guys I'm writing a test file for a program. where all the possible

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.