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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T21:20:56+00:00 2026-06-12T21:20:56+00:00

ListView is created from Cursor with data from DB. Clicking on each item in

  • 0

enter image description here
ListView is created from Cursor with data from DB.

Clicking on each item in ListView leads user to a new Activity/Page/Layout/WHAT? where additional info + pictures about the item are shown.

Do I need to create dynamic activities? Or there is a better way that I just do not know about?

Thank you in advance.

  • 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-12T21:20:58+00:00Added an answer on June 12, 2026 at 9:20 pm

    If each item has a sufficiently common format for displaying your “additional info + pictures”, then I would suggest creating a single Activity to represent your items, and then fill in the details by passing the item as an extra on the Intent that launches your activity. For example,

    In the list activity:

    Intent intent = new Intent(ITEM_DETAILS_INTENT);
    intent.putExtra(ITEM_NAME, itemName);
    startActivity(intent);
    

    and in the item detail activity:

    Intent intent = getIntent();
    String itemName = intent.getStringExtra(ITEM_NAME);
    populateDetails(itemName);
    

    On the other hand, if “Controls” requires a significantly different format from “Focus”, you’ll need a ControlsActivity and FocusActivity (for example) where each activity handles each item, and you launch a different activity depending on the item selected.

    Hope this helps!

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

Sidebar

Related Questions

I'm trying to populate an android ListView with data from DB. I've Created a
I am creating a custom listview. The data is not coming from a cursor
I have created ListView fetching data from app db, and it's working fine, when
I've created a listview that's filled up with a list of guitars from the
I got this ListView which is populated from a JSON data on the web.
I need to display results from a SQL join in a ListView/ListActivity. I've created
I am fetching data from an sqlite database to Android mobile in a listview.
Hi I want to delete selected item from the data base. My code is
I've been beating my head around trying to populate a ListView with data from
What i'm trying to do: ListView activity A, I touch an item, it opens

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.