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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:28:05+00:00 2026-05-29T10:28:05+00:00

Im building an app with a tab-layout. And i have some concerns about tab-layout

  • 0

Im building an app with a tab-layout. And i have some concerns about tab-layout in general.

  • Tab tabs in an app the are connected in some way but passing data between them how?
  • And if you pass data how tell parent host to switch tab?
  • I’ve read in a couple of places to not use activities in the tabs but instead use layouts. Why not? I see the tabs as a kind of controller for my view and if i use different layouts in same activity for lets say a “list-view” and a “details” view for some model, my activity will be cluttered with logic for both of them.

For now i have two tabs, one list-view tab display a list of items (DUH!), and one filter tab filtering the items with a button to apply the filter.
When applying the filter i need to filter the items in the list depending on some factor like item title and category. On the button click i send a broadcast intent picked up by the list and tabhost, switching the tab, and changing the list after the filter.

Does this make sense, how do you do it?

//twd

  • 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-29T10:28:05+00:00Added an answer on May 29, 2026 at 10:28 am

    If you want to support the latest and greatest android features, check out the Action Bar. It provides navigation tabs now, which was a weak spot in previous versions. It is very nice, and uses fragments to handle tab content.

    If you want a solution that is implemented for prior android versions, check out the ActionBarSherlock library that provides a backwards-compatible action bar.

    As for communication between tabs, they are all within the same Activity, so you can simply communicate through your Activity class.

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

Sidebar

Related Questions

I am well into building a Core Data tab-based iPad application. I am passing
I have changed the way my facebook page tab app asks for permissions. I
I am building an app in which at some point I have to show
I am building a tab bar app one of the tabs has an image
I am building a Tab Bar App and have a MapView set up on
I'm building an Adobe AIR 2.5 app that I have working the way I
I am building an app that consists of actionbar with tabs, and each tab
I'm building an app that pulls data in from an excel .csv file and
I'm building an app in PHP and I'm using the data mapper pattern for
I'm building a Facebook app that can be installed on Pages (a Page Tab

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.