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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:15:23+00:00 2026-05-26T20:15:23+00:00

I am trying to do something really simple, but somehow not getting the direction.

  • 0

I am trying to do something really simple, but somehow not getting the direction. Here is what I am trying to accomplish.

In my GridView activity, I am loading up to 10 photos from an sdcard location. Then, using a menu option “Load more”, I would like to load up to 50 photos from another sdcard location and refresh the GridView to display all photos (don’t want to call GridView activity again with the new items)

Refreshing GridView (which is defined in the main UI thread) from an outside thread or menu triggered option is what I am looking to do. Any suggestions will be appreciated.

  • 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-26T20:15:24+00:00Added an answer on May 26, 2026 at 8:15 pm

    Your only and most proper optıon ıs that you define a Refresh option in the menu and then trigger an AsyncTask which will handle the background operation and after that updating the Ui with the result.

    Check AsyncTask for more info.

    http://developer.android.com/resources/articles/painless-threading.html

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

Sidebar

Related Questions

I am probably overlooking something really simple here but I am trying to redirect
I'm trying something really simple here, but can't figure out where I'm going wrong.
I'm trying to do something really simple, but starting to realize that dates in
I am sure this is something really simple, but I am going bonkers trying
I am trying something very simple, but for some reason it does not work.
Pretty sure that I'm missing something really simple here: I'm trying to display a
I'm new to mercurial and I'm trying to do something really simple but can't
I am trying to do something really basic but can not seem to find
I am trying to do something that should be really simple but I am
actually I thought I was trying something really simple. ControllerClassNameHandlerMapping sounded great to produce

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.