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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T19:04:43+00:00 2026-05-24T19:04:43+00:00

I need to implement multilevel expandable list view, something like ExpandableListView but with more

  • 0

I need to implement multilevel expandable list view, something like ExpandableListView but with more than 2 levels.

Now I use this data structure, but if need I can change it. It’s not very important.

public class NodeList implements Set<NodeList>

public NodeList(String name) {
        mChilds = new ArrayList<NodeList>();
        mNodeName = name;
}

NodeList root = new NodeList("root");
    NodeList lv_1 = new NodeList("level_1");
    NodeList lv_2 = new NodeList("level_2");
    NodeList lv_3 = new NodeList("level_3");
    root.add(lv_1);
    root.add(lv_2);
    root.add(lv_3);

    NodeList lv_21 = new NodeList("level_21");
    NodeList lv_22 = new NodeList("level_22");
    lv_2.add(lv_21);
    lv_2.add(lv_22);

    NodeList lv_211 = new NodeList("level_211");
    lv_21.add(lv_211);

    NodeList lv_2111 = new NodeList("level_2111");
    NodeList lv_2112 = new NodeList("level_2112");
    lv_211.add(lv_2111);
    lv_211.add(lv_2112);

    NodeList lv_31 = new NodeList("level_31");
    NodeList lv_32 = new NodeList("level_32");
    NodeList lv_33 = new NodeList("level_33");
    lv_3.add(lv_31);
    lv_3.add(lv_32);
    lv_3.add(lv_33);

    NodeList lv_321 = new NodeList("level_321");
    lv_32.add(lv_321);`

Can anyone tell me which is better base view and which adapter to use? What methods needs to override? Maybe someone has already developed it, because this problem occurs quite often.

Please help.

Thanks for all response!

  • 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-24T19:04:43+00:00Added an answer on May 24, 2026 at 7:04 pm

    Check this http://code.google.com/p/tree-view-list-android/ ….

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

Sidebar

Related Questions

Need to implement functionality similar to what dotdotdot jQuery plugin does but cannot use
I need to implement something like: if [ $i -ne $hosts_count - 1] ;
I need to implement a excel like interface, but as a webapp. It is
I need to implement an OS file chooser with php but I don't know
I need implement a Data entry like receiver field in mail app (Ex. To:
I need to implement Carousel view in Android . I searched in the net
I need to implement a scroll view which (on a button press) will page
I need to implement two rank queries [ rank(k) and select(r) ]. But before
I need to implement a Forgot Password page, but my passwords are salted &
I need to implement 256 bit AES encryption, but all the examples I have

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.