Questions tagged [recycle]

338 questions
0
votes
0 answers

IIS Breaks application after recycle

I recently have this strange issue with IIS. We have an ASP.NET website and recently it fails after an application pool recycle. When I stop the applicationpool, clear the "ASP.NET Temporary Files" and restart the applicationpool. It works again.…
Brechtvsk
  • 11
  • 4
0
votes
2 answers

Manually recycle UITableViewCell

Is there an opposite method to dequeueReusableCell? I am dequeuing cells for cell height computation and after it computes its height I want to recycle that cell so it can be reused for display. Or should I just instantiate an object per cell type,…
shelll
  • 3,234
  • 3
  • 33
  • 67
0
votes
0 answers

Xamarin Forms - Listview Recycling and binding - Fire too often on Android

I have a custom ViewCell with bindings. The first time I say tap on a button the bound view model command is fired. Then I refresh the ListView. I tap again on the button. The command is called twice. I refresh, I tap, now the command is called…
François
  • 3,164
  • 25
  • 58
0
votes
1 answer

GridView recycles child view that is still visible

I have a GridView that is recycling child views using an adapter. Each child view is composed of an ImageView with a TextView overlayed on top. The problem I'm seeing is that as I scroll and new images come into view, the image of other cells in the…
dco123
  • 11
  • 4
0
votes
1 answer

Android crash:recycle ImageView then startActivity Again

I have two Activities,MainActvity and ImageActivity, my steps are as follows: Start MainActivity Start ImageActivity Click backButton go back to MainActivity start ImageActivity Then app crash. I guess the reason is because I recycle the…
user3239558
  • 1,757
  • 4
  • 18
  • 31
0
votes
0 answers

Xamarin: How to recycle bitmap created by NGraphics

I am having out of memory while loading an image to draw on a custom view via onDraw. I am using NGraphics but I can't see the IImage has a function call recycle or dispose the bitmap. So how do I proper destroy the object.
LittleFunny
  • 8,155
  • 15
  • 87
  • 198
0
votes
0 answers

How to check if and image is set to imageview in android

I am trying to check if an image (bitmap) is set to imageview and if so I am stopping the progressbar visibility. My code below: I make a call to the server to get the image and inside listener on success I set the imageview as follows: …
chitra
  • 77
  • 9
0
votes
1 answer

Web deploy failure after IIS recycle

I locked up my database (during SQL dev) which supports my Web app, so I recycled the application pool to kill the session. Then corrected the db code. Now when I go to try and deploy via webdeploy I get a 'not all data is available' error. My IIS…
DarkMatterz
  • 65
  • 1
  • 8
0
votes
1 answer

Onclick event is not triggered for Image button placed on Image View in the cardview

I have placed image button on top of image view which is inside a CardView. I want to trigger some action when user clicks on Image button. However first problem is when I get the image button using findViewById inside MainActivity, it returns…
Vimal
  • 13
  • 5
0
votes
1 answer

Glide saving picture to file - Bitmap recycled

I want to use Glide to save a bitmap to a file and then share the picture with a nice Share button. I've used some code I've found in the docs, just like this: Glide.with(getApplicationContext()) .load(imageUrl) .asBitmap() …
Matei Suica
  • 859
  • 1
  • 7
  • 17
0
votes
2 answers

Conditional setHint/setText EditText Android

Maybe there is a simple solution to my problem, but i´m not able to find it. I have a ListView with a list of users. Each row has an EditText to enter the username. I want to set hint text for each user like: "user1, user2, user3, etc", used as…
jgonzal
  • 23
  • 2
0
votes
0 answers

Application is shutting down. Reason: Configuration changed - any reason

I'm encountering an app domain recycle, once in a a couple of weeks on my live environment. I've added healthMonitoring configuration to the web.config in order to get the reason for the application restart. When this recycling happened I…
Tomer Peled
  • 3,571
  • 5
  • 35
  • 57
0
votes
1 answer

How to recycle a bitmap in pageAdapter with Fragment? in android

Here is the source of PageF fragment used in ViewPager & PageAdapter. public class PageF extends Fragment { public static final String ARG_PARAM1 = "bitmap"; public static PageF newInstance(int id) { PageF fragment = new PageF(); …
myoungjin
  • 895
  • 1
  • 13
  • 27
0
votes
2 answers

items in custom listview not recycling with new json data android

I am using a custom listview which has 2 different layout for single item. My json data : { "status": "success", "response": [ { "store_id": "1", "store_name": "Prashant Stores", "items": [ …
karthik kolanji
  • 2,044
  • 5
  • 20
  • 56
0
votes
3 answers

C# Object Scope

I'm trying to understand when a object is recycled. For example, in a class I have a List declaration and a method inside this class to populate the list by declaring and initializing a temporary object and then adding this object to the list. My…
JoshD
  • 21
  • 3