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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:04:56+00:00 2026-06-09T11:04:56+00:00

I am developing an app in Android using Fragments. I have this three tabs:

  • 0

I am developing an app in Android using Fragments. I have this three tabs:

User app screenshot

I know that is not possible to prevent the load of one fragment on each side (previous and next) as far as the minimum value of setOffScreenPageLimit() is 1 but does it mean that if I want to show a ProgressDialog on the onPreExecute method of an AsyncTask running within Descargas Fragment this will cause that when I nav to the Capturador that ProgressDialog will be necessarily loaded? If yes I have no idea of how to let the user know that I am downloading the packages (that’s what Descargas does, to parse some XML).

Thanks 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-09T11:04:58+00:00Added an answer on June 9, 2026 at 11:04 am

    Embed a ProgressBar on the Descargas fragment. Or overlay an indeterminate progressbar over the center of the fragment while it loads.

    Dialogs are really part of the activity, it wouldn’t make sense that it’s only applicable to one of the pages.

    At the end of the day though if you must insist on using dialogs, you can implement an onPageChangeListener

    viewPager.setOnPageChangeListener(OnPageChangeListener);

    And you can pull up the appropriate dialog when the designated fragment is selected and the opposite when you navigate away.

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

Sidebar

Related Questions

i am developing an android app using phonegap. I have trouble displaying special characters
im developing a app in Android. in this project im using a List of
I am developing an app using android OS for which I need to know
I have project where i'm developing an Android App using a lot of existing
I am developing Android TextToSpeech app. This application is not working in Android 1.5
I'm developing an Android APP that connects to Google Calendar using GData API for
I am currently developing an Android app that is using a remote MySQL database
I am developing an Android app using fragments and would like the user to
I am developing an Android app for tablets and not using the compatibility library.
I am developing an app in Android/Phonegap using Javascript. I have tried the insert

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.