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

  • Home
  • SEARCH
  • 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 8696539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T01:17:49+00:00 2026-06-13T01:17:49+00:00

I am using UIL for loading and displaying images in a ListFragment wich works

  • 0

I am using UIL for loading and displaying images in a ListFragment wich works great.
In the ListView I am using the Handler-Pattern. No problem so far.

But if I click on a ListEntry to display another image within a second fragment it fails.

The weird thing is if I click on a button in the second fragment do load that image, it works like a charme.

The log-output shows in both cases that the image is in the disc-cache, that it was scaled aso. – no errors.

This function is part of the Fragment: (and is always called from Thread 1 (UI))

    public void updateStockInfo(final String symbol) {

    if (viewer != null) {
        //final ImageView imageview = (ImageView) viewer.findViewById(R.id.stockinfo);

        urlForStockInfo = "http://chart.finance.yahoo.com/c/3m/d/" + symbol.toLowerCase();

        imageloader.loadImage(getActivity(), urlForStockInfo, new ImageLoadingListener() {
            ...

            @Override
            public void onLoadingComplete(final Bitmap loadedImage) {
                imageview.setImageBitmap(loadedImage);
                logger.debug("Loadinf complete");
            }
        });
    }

Calling updateStockInfo from onActivityCreated (its the same with onCreateView) fails without an exception or so.
The thread for loading the image does not start.
In LoadAndDisplayImageTas:run() there is a check for Thread.interrupted() on line 89 – this check fails.

Buuuuuttt if manually (press button) call updateStockInfo if works???

In all cases updateStockInfo is called by the UI-Thread.

Any hints?
thx in advance!

[Update]
I downloaded the source and removed the check for Thread.interupted() on line 92

        if (/* Thread.interrupted() || */checkTaskIsNotActual()) return;
    if (configuration.loggingEnabled) Log.i(ImageLoader.TAG, String.format(LOG_DISPLAY_IMAGE_IN_IMAGEVIEW, imageLoadingInfo.memoryCacheKey));

You know what – it works.
Was this a bug or does it just work for my special case?

  • 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-13T01:17:50+00:00Added an answer on June 13, 2026 at 1:17 am

    More likely you call ImageLoader.stop() somewhere in activity.

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

Sidebar

Related Questions

Using Python, I'm trying to connect to my AppEngine app's remote_api handler, but I
Using the C# Facebook SDK 5.0.3 everything works fine whit the client.Get(/me). But when
using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question
Using jQuery I'm trying to obtain the rotation state of an object but in
Using mercurial, I've run into an odd problem where a line from one committer
using chrome and ff so far have made a nasty glitch when using scrollTo
Using the navigator.geolocation object in JavaScript. Trying to establish accurate ranges, but wondering exactly
Using Rails 3, but I guess doesn't matter. I put this in the template
Using C#, I want to show the image in the Access column but failed
using VB.Net2010 I need to call a C# DLL The problem I have is

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.