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

  • Home
  • SEARCH
  • 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 7988821
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T12:34:10+00:00 2026-06-04T12:34:10+00:00

So, my application have one activity ProjectActivity as a home, which contains 3 fragments

  • 0

So, my application have one activity ProjectActivity as a home, which contains 3 fragments HomeFragment ListFragment TagFragment(one for each tab). When I click on a button (on the homeFragment), it opens a new activity CaptureActivity.
That activity launches an ASyncTask, ParseData.

On the ParseData onPostExecute, I would like to go back to my ProjectAcitity, focused on a specified tab (the one that contain ListFragment), and update the ListFragment View.

I actually have no clue on how to do that. Do I simply need to call the ProjectActivity ? But then, if I press the Back button, wouldn’t it go back through the whole chain (Project Activity, CaptureActivity, ProjectActivity) ?

  • 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-04T12:34:12+00:00Added an answer on June 4, 2026 at 12:34 pm

    Well, you can do a few things.

    First just have ListFragment monitor w/e its listing and refresh it in its onStart/onResume which will be called when you return to your ProjectActivity.

    Or more directly you could do startActivityForResult(captureActivity); then when u come back to your ProjectActivity get results in onActivityResults() then update your ListFragment from there.

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

Sidebar

Related Questions

I have one Application which has more then 5 Activity I want to know
My Application have 5 activities(A1,A2,A3,A4,A5). Each activity have one text view and one button(B1,B2,B3,B4,B5).
I have an application with 3 tabs with one activity per tab. When I
I have to include one report in my application showing offline/online activity of few
i have one application which is build using VB.NET now i required to add
The problem: we have one application that has a portion which is used by
I have strange issue. My application have multiple activitys, on one activity is setting
I've more than one activity (inside the same Application) that needs to have access
I'm writing my first Android application and I have one activity that I'd like
I have one activity which download data from the web. In middle of the

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.