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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T18:01:07+00:00 2026-06-16T18:01:07+00:00

I am making an app in which i am showing contacts to the user

  • 0

I am making an app in which i am showing contacts to the user in a list view.I want to show the same list view to the user until and unless some changes are made to the contact list.The question arises here that when the activity is destroyed and till the user come back to the activity having the contact listview,Where shall i store the items of the listview as to show them to the user again?I think there are 3 options available:

1. Sqlite database
2. SdCard
3. Shared Preferences

I am not able to take the decision about which will be the best option for saving the items so as to retrieve them later.In my case the number of items in the list view may be upto 1000.Please help me.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-16T18:01:08+00:00Added an answer on June 16, 2026 at 6:01 pm

    You can go with SQLite database as it is protected , you can also use sdcard and any File format like property file , csv …etc to save your list detail , however sdcard media is shared with all application and accessible from user also .With so many contact I will not recommend shared preference as fetch detail and running query is not possible like in SQLite .

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

Sidebar

Related Questions

Hi i'm making an app which need to get user's gmail account contact list
I'm making an app which is some what like a to-do list. Now, I
i m making APP which do image proceesing using java SE.i want to check
I am making an app which has infinite scrolling while showing its results. I
i am kind of making app which play audio using table view After selecting
I'm making an app which has to download some data, parse it and store
I'm making an Android app which stores some downloaded pdf files inside the device's
I am making an App in which i have a view where i am
I'm making an app which for now, parses an url and takes some info
I'm making an app which will allow the user to purchase either a subscription

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.