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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T21:11:12+00:00 2026-06-07T21:11:12+00:00

In my android application, first activity calls REST API to get the list of

  • 0

In my android application, first activity calls REST API to get the list of items using credentials. Now on clicking on any item, item id is passed and second activity is called using intent. This second activity calls the REST API using passing id and shows the list of sub items for that id.

I am using Progress Dialog in first activity. This is working fine. I want this progress dialog also continue in the second activity until sub item list does not display.

Presently progress dialog disappear as the second activity start and a blank screen appears until the sub list does not fetch.

Can anybody guide me how can I continue progress dialog in second activity and dismiss when sub list appears.

  • 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-07T21:11:14+00:00Added an answer on June 7, 2026 at 9:11 pm

    There are two options you can use:

    1. You can stop the dialog when the first Activity is dismissed and then show it again in the onCreate method on your second Activity. As AkashG mentioned in the comments.
    2. If you really want the dialog to be shown during the transition to the second Activity, you can use one single Activity instead of two and change the layout of that Activity to use the layout of the second Activity instead of calling another Activity. However, this can be complicated since you will implement the features of your two Activities into a single one.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing my first Android application and trying to get my head around communication
Hello I have developed my first application for Android using the Ice Cream Sandwich
I'm planning to develop a very simple application (my first Android application) and I'd
I just published my first android application on Google Play. However, although i see
I am making my first android application, and it requires switching between activities very
I am trying to design my first Android application with the use of GPS.
I just publicated yesterday my first android application. I did not tested on android
I am working on a fairly basic screen layout for my first Android application
I've followed this tutorial: http://anandhansubbiah.com/blog/writing-your-first-android-application/ , but no matter what I do, and what
So, I'm making my first Android application, which basically contains ~250 .txt files in

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.