Questions tagged [recycle]

338 questions
1
vote
1 answer

LIstView with ImageView Downloaded from Remote Server

I want to make a listview using "imageview" which is retrieved from a remote server's response. This is populated only when required/necessary... The code is working as expected, however, when i scroll down or up faster the images on rows get…
Xanax
  • 11
  • 3
1
vote
1 answer

Unexpected behaviour of programmatic AppPool Recycle

This school semester I am building an MVC framework site that will be used for the automation of my janitor's house. Funny story actually. The Git page: https://github.com/LarsGardien/EniacHome/tree/master/MVC_default I decided to use a pluggable…
Mlezi
  • 105
  • 1
  • 13
1
vote
0 answers

recycle Runnable object, how can i do it?

in my Android App I'm using a single thread executor and every 300 milliseconds I create a new MyRunnable and I call the method execute() of my SingleThreadExecutor. Now my goal is to recycle the Runnable object. But I don't know when and How I…
aeroxr1
  • 1,014
  • 1
  • 14
  • 36
1
vote
0 answers

Application is shutting down. Reason: Configuration changed

Event code: 1002 Event message: Application is shutting down. Reason: Configuration changed. Event time: 11/10/2015 7:22:10 PM Event time (UTC): 11/11/2015 12:22:10 AM Event ID: 17e16b73083c40fea3b3b8416a817f0a Event sequence: 28983 …
1
vote
0 answers

Stop videoview when click another videoview on a listview

I have a listview and it has custom adapter. Adapter keeps videoview items on it. On list, when I click a videoview it is starting to play that is working ok. But after when I click next videoview, the previous one continue to playing. Here is my…
Ozan
  • 1,191
  • 2
  • 16
  • 31
1
vote
0 answers

Android Bitmap Recycle With Lollipop

my code did work before Lollipop update. But now, since lollipop recycle bitmap by itself my app crashes and I take this error; Process: com.package.example, PID: 16356 java.lang.NullPointerException: Attempt to invoke virtual method 'boolean…
Dauezevy
  • 1,012
  • 4
  • 22
  • 46
1
vote
0 answers

Can an IIS application recycle its own application pool?

I have an IIS application that has a long-lived singleton. On rare occasion, this singleton hangs when trying to obtain a resource. It is known that recycling the application pool will cause the resource to became available again. Assuming this…
subsci
  • 1,740
  • 17
  • 36
1
vote
1 answer

Find Date Recycle Bin Was Last Emptied

Where on my computer would I be able to find the last date that the recycle bin was last emptied, would such an event be stored in the windows system logs? and if so where? Thanks :)
Dustin Gamester
  • 792
  • 3
  • 8
  • 24
1
vote
2 answers

XPages: how to recycle Domino objects when using a ViewEntryCollection several times?

I tried to find a similar question, but I didn't succeed. In a bean, I'm looping through a ViewEntryCollection several times, adding or deleting entries. Could someone tell me exactly when these objects should be recycled? I want to be able to reuse…
D.Bugger
  • 2,300
  • 15
  • 19
1
vote
0 answers

How to recycle bitmap which is drawn in CustomDrawable?(android)

Jpardogo's GoogleProgressBar is cool. A CustomDrawable is setted in ProgressBar. So I decided to learn to create a CustomDrawable. I use canvas.drawBitmap() in Drawable.draw() because I want a colorful image instead of painted line. The question is…
1
vote
1 answer

Excluding Files and Asking for Confirmation when RECYCLING the contents of a directory (Batch)

Behold the following script that I have managed to create at the moment (it's a batch script, and this is the whole thing): echo Recycle %%A recycle "D:\7) Temporary\Media Caches\Pr\*.*" What this will do, in my above example, is recycle the…
1
vote
1 answer

Recycle the CONTENTS of a folder, but not the folder itself with either a Batch or VBS file

The title pretty much says it all. My goal is to create some kind of file that can be executed by a double click (batch, for example) where I specify (in the file) the path to the folder that, does not need to be sent to the recycle bin, but have…
1
vote
2 answers

When do I need to recycle?

I have an applicationScope managed bean that loads a bunch of information about a series of applications into a Map. Then the following method is part of the bean: public Database getAppDB() { Database appDB = null; try{ Session s =…
Bill F
  • 2,057
  • 3
  • 18
  • 39
1
vote
3 answers

Viewpager: lose the state of toggle button when swiping

I am creating a Gallery with image and like button using Viewpager and PagerAdapter. Please refer to my code: public class GalleryAdapter extends PagerAdapter { private Activity _activity; private ArrayList _imageCollection; //…
1
vote
3 answers

How to handle recycling in Expandablelistview with different child layouts?

As we all know Android's listview and expandablelistview recycles its view. More info: The nuance of android listview. I've read articles and information such as the above link on how to handle that but they only give only examples on list views not…
cribal48
  • 29
  • 1
  • 9