delayed-execution

LINQ Strange Execution - Inconsistantly Consistant?

This IS a delayed execution problem. However, my issue stems from the fact that I cannot ascertain WHY this execution is delayed sometimes, and not other times. Code: IList<LineItem> freeFlatItems = new List<LineItem>(); if(QualifyFreeFlatShipping) freeFlatItems = lineItems.Where(l => l.FlatShippingRate != null).ToList(); decimal...

A better way to stagger method calls/display 3 UIImageViews in delayed sequence

Hi all. I've managed to implement a solution to this problem, however the code just seems rather inefficient and actually, the delayed method calls are proving a little troublesome when they continue to fire if the user has navigated to another screen. Basically I want a thought bubble to appear from a character's head, but animated, so...

Need a mix of Delayed and Map

I have an application without a save button; saving happens automatically in the background. As the user works with the app, tasks are created and put into a queue for execution. Some of them are delayed, for example, when you start typing, I wait 200ms before I update the corresponding value in the database. To make this more simple to...

Call a base class constructor later (not in the initializer list) in C++

I'm inheriting a class and I would like to call one of its constructors. However, I have to process some stuff (that doesn't require anything of the base class) before calling it. Is there any way I can just call it later instead of calling it on the initializer list? I believe this can be done in Java and C# but I'm not sure about C++. ...