Questions tagged [recycle]

338 questions
3
votes
1 answer

Strange behavior of ListActivity and Activity

I'm implementing an application for android and I run into memory issues while populating a list view with data from the internet. A strange error that occurs seems to be caused by the lack of recycling of the rows as it should normally happen as it…
3
votes
1 answer

Assign multiple columns via vector without recycling

I am importing measurement data as a dataframe and want to include the experimental conditions in the data which are given in the filename. I want to add new columns to the dataframe that represent the conditions, and I want to assign the columns…
3
votes
1 answer

How can I make a function in R to create subsets of columns?

I have a data frame in R with almost 40 years (from 1980 to 2019) in columns and I need a function to create several subset taking the same variable and rename, then I have to put in other data frame below. X1980 <-…
3
votes
4 answers

temporarily prevent a UITableViewCell from being recycled

My UITableViewCells can accept input of data. While working in one cell, it would be perfectly natural for the user to want to scroll up, check something in another cell, then return to the first cell and continue the data entry. The problem is…
William Jockusch
  • 26,513
  • 49
  • 182
  • 323
3
votes
1 answer

Android ListView show incorrect content when Scrolling Down, then correct content when Scrolling Up

As a total newbie to Android Studio, I'm presently baffled by different behavior upon the same code. If the code is the same, how may the results be different when scrolling up or down? Could this be some Android View Recycling issue? After parsing…
Daniel Henry Thomas
  • 340
  • 2
  • 6
  • 13
3
votes
5 answers

Any language: recycling Variables

This seems like a simple question to ask but, is it generally a good idea to re-use variables in any scripting language? I'm particularly interested in the reasons why it is/isn't good practice as I'm besides my self if I should or shouldn't be…
Partack
  • 886
  • 11
  • 24
3
votes
1 answer

Memory usage does not decrease even I recycle bitmaps

I have A and B activities. When I start activity B from activity A, I set static bitmap variable on activity B. I show that bitmap on the screen and rotate it. When activity B is finished, I recycle all bitmaps on onDestroy() method but memory…
3
votes
5 answers

IIS problem, web application

When I use the web application, the application logs me out. I think it might be an IIS recycle. EventViewer Message: .NET Runtime version 2.0.50727.4927 - Fatal Execution Engine Error (000007FEF582FA42) (80131506) ---------- Faulting application…
KaFKaFy
  • 71
  • 1
  • 1
  • 6
3
votes
1 answer

Does HostingEnvironment.QueueBackgroundWorkItem really delay recycling?

I've read this documentation which says that running action with HostingEnvironment.QueueBackgroundWorkItem: Differs from a normal ThreadPool work item in that ASP.NET can keep track of how many work items registered through this API are currently…
oavraham
  • 33
  • 1
  • 3
3
votes
2 answers

Wrong selection in ListBox with VirtualizationMode="Recycling" and SeclectionMode="Extended"?

I have a really strage behaviour. I have a ListBox in the View with a DataTemplate for its items including ViewModels. I bind the IsSelected to my ViewModel and use SelectionMode="Extended". Everything works fine. BUT if I add…
KCT
  • 61
  • 3
3
votes
0 answers

Has there been any work on supporting general recycling in Haskell

Has there been any work on supporting vector-style recycling for general data in Haskell? For example running main = do let ls = [1..1000000] print ls with -p states that it allocates a total of 425mb. Running main = do let ls = [1..1000000] …
pdexter
  • 811
  • 8
  • 16
3
votes
0 answers

recycling view including RadioButtons in a multiple layout ListView

I tried a lot of different posts here but nothing gave me the solution. It doesn't matter which style I tried: without ViewHolder, with ViewHolder, with 2 ViewHolders... Every time i clicked a RadioButton and scroll, the views are…
Rob
  • 41
  • 5
3
votes
2 answers

Listview and volley - image wrong assigned

I'm using volley library to load images from internet. I have a list view, some rows are loaded using volley's library "NetworkImageView" and others are loaded by a static resource. It seems something is wrong, because I'm having rows with image…
3
votes
1 answer

IIS 8.5 recycles when new bindings are added

I am trying to add a binding to IIS 8.5 using the ServerManager class, but it always results in the application restarting. The site is running on IIS 8.5, running ASP.NET 4.5 and is configured to run in integrated mode. Previously, when my…
Alienheart
  • 31
  • 2
3
votes
1 answer

This FragmentManager should be recycled after use with #recylce()

This is my code: protected void showNewsItem(News news) { FragmentManager fm = getFragmentManager(); FragmentTransaction ft = fm.beginTransaction(); DialogFragment newFragment = MyNewsFragment.newInstance(); newFragment.show(ft,…
Darren
  • 10,182
  • 20
  • 95
  • 162