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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T07:55:25+00:00 2026-05-13T07:55:25+00:00

I have a weird problem. As I have asked in previous posts, I have

  • 0

I have a weird problem. As I have asked in previous posts, I have a lot of data coming from NET in my app. The problem is that a lot of text and images r there, so though I can make the user wait wen he clicks on a list item, but I don’t want to make him wait wen he clicks the back button.

In the sense that I don’t want to re-download all data; data 1ce downloaded should remain.

Which 1 is the right method?

1. Using a special class which stores all data… and using the variables each time I go back,

or

2. Is there any specific save instance method for saving such data in the class
itself… if it is then do inform me how to call the saved instance Activity
when back is clicked.

  • 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-13T07:55:25+00:00Added an answer on May 13, 2026 at 7:55 am

    By “user clicks the back button” I understand that the previous activity is displayed and returned at the top of the stack (see activity lifecycle).

    This mean this activity is not created again, but resumed (unless it was killed by core because other applications need memory), so its fields and attributes keep their values.
    So if you store your datas in some activity fields, you might be able to retrieve their values and display them without re-download them.

    Of course you have to test these fields before accessing them in order to avoid NPE in case of activity first start.

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

Sidebar

Ask A Question

Stats

  • Questions 322k
  • Answers 322k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The book is probably a bit dated, middleware threads (aka… May 14, 2026 at 12:50 am
  • Editorial Team
    Editorial Team added an answer I've managed to repair my database using a test that… May 14, 2026 at 12:50 am
  • Editorial Team
    Editorial Team added an answer Looks like a false-positive. Because modern viruses use polymorphism to… May 14, 2026 at 12:50 am

Related Questions

Hi I have the following query running a function to get the Standard Deviation
I've asked this question here , but I don't think I got my point
The following code demonstrates a weird problem I have in a Turbo C++ Explorer
I have a very weird problem in Firefox ( version 3.5.2), and I am
I'm required to maintain a few VB6 apps, and I have run into a

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.