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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T08:34:50+00:00 2026-06-09T08:34:50+00:00

In my application I have the navigation broken down by the functional areas of

  • 0

In my application I have the navigation broken down by the functional areas of the application so for example one area is the meetingmanagement. In an meeting I have several fields that are broken down into sections of the overall data entry form. To manage this I have set them up by section; however, I took the list items and put them in their own fragment thinking that I would need to only have one list displayed at a time (the requirements are targeting devices with 4.7″ screen on Gingerbread at the moment). My first question is; is it okay to host ListFragments and Fragments in a FragmentPager, or can a list be in a Fragment? (I included an example of how the UI currently adds the fragments for the pager, but I have not attempted to load anything in the lists yet.

private void initMeetingManager() {

    List<Fragment> fragments = new Vector<Fragment>();

    // Now add all of the meetingmanagement Fragment parts to the fragment list
    fragments.add(Fragment.instantiate(this, MeetingGeneralFragment.class.getName()));
    fragments.add(Fragment.instantiate(this,  MeetingAttendeesFragment.class.getName()));
    fragments.add(Fragment.instantiate(this, MeetingMessageTalkingPointsFragment.class.getName())); //Class Extends ListFragment to display Message Talking Points
    fragments.add(Fragment.instantiate(this, MeetingIssueTalkingPointsFragment.class.getName())); //Class Extends ListFragment to display Issue Talking Points
    fragments.add(Fragment.instantiate(this, MeetingObjectiveTalkingPointsFragment.class.getName())); //Class Extends ListFragment to display Objective Talking Points
    fragments.add(Fragment.instantiate(this, MeetingAdditionalTalkingPointsFragment.class.getName()));
    fragments.add(Fragment.instantiate(this, MeetingKnownAgreementsFragment.class.getName()));
    fragments.add(Fragment.instantiate(this, MeetingPlanningObjectiveFragment.class.getName()));
    fragments.add(Fragment.instantiate(this, MeetingAgreementsFragment.class.getName()));
    fragments.add(Fragment.instantiate(this, MeetingAssessmentFragment.class.getName()));
    fragments.add(Fragment.instantiate(this, AttachmentFragment.class.getName()));

    // add the array the the pager adapter 
    this.mPagerAdapter = new AppPagerAdapter(super.getSupportFragmentManager(), fragments);

    ViewPager pager = (ViewPager) super.findViewById(R.id.viewpager);
          pager.setAdapter(this.mPagerAdapter);
}

Any comments are greatly appreciated.

  • 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-09T08:34:51+00:00Added an answer on June 9, 2026 at 8:34 am

    Maybe late but better then never i thought:

    Is it okay to host ListFragments and Fragments in a FragmentPager, or can a list be in a Fragment?

    Yes and Yes, but: If youre holding a lot of Fragments whith a certain complexity you should consider using the FragmentStatePagerAdapter instead of the FragmentPagerAdapter.

    I thought i throw in this recommendation, if your CustomAdapter extends the StatePager i never said anything!

    Happy Coding!

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

Sidebar

Related Questions

I have a UINavigationBar based application - only a one navigation bar that is
I have a Silverlight navigation application, that for some reason when showing a data
I have an ajax application that uses hashbanging for navigation and I keep track
I have a core data application which uses a navigation controller to drill down
I have a navigation based application that have a uinavigataioncontroller containing uitableviewcontrollers. I want
I have a navigation-based application in which I would like just one of the
My application has a tab bar, and in one tab I have a navigation
I have my navigation menu in application.html and the menu has class=active . That
I have a navigation bar based application, and at one specific point in the
I have a Navigation application that has a view controller in it.. I am

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.