All Questions
62
questions with no upvoted or accepted answers
4
votes
0
answers
388
views
Android ExoPlayer - How to add points of interest and their callbacks?
I've been successfully using ExoPlayer to play audio in my app.
I have a list of points in time (in milliseconds) in which I would like ExoPlayer to raise an event whenever it passes through them ...
2
votes
0
answers
299
views
can Matlab global variables yield better performance in Matlab?
I hate using global variables, and everyone should. If a language has no way around using global variables it should be updated. Currently, I don't know any good alternative to using global variables ...
2
votes
1
answer
278
views
Events, Delegates, Callback, INotifyPropertyChanged
Suppose I have the following:
class a
{
List <SomeType> actions;
ForEachMethod()
{
foreach (action in actions)
{
OtherFucntion(action);
}
...
2
votes
1
answer
2k
views
Android googlemaps v2 finish loading event or callback
I want to do something after the google maps has loaded(maptiles have been filled) is there anyway to achieve that?
1
vote
0
answers
350
views
How to get the index of a data point when the cursor clicks on it?
I have a scatter plot and I want to get the initial index of the data sample when clicked on it.
fig, ax = plt.subplots()
sc = plt.scatter(features[:, 0], features[:, 1], c=labels)
On an on-click ...
1
vote
1
answer
997
views
EventCallback seems to be changing a parameter value on the razor page
I have a view in my project with 2 nested views/components (the main view contains a tree view and the tree view contains individual 'node' views for each object in the tree).
I'm using event ...
1
vote
2
answers
5k
views
Calling an event handler within a function in React
I'm displaying a dropdown select menuitem that displays a list of vitamins, but I want it to update to the new vitamin that the user selected.
I've tried
renderData(handleChange) {
const {vitamins} ...
1
vote
0
answers
341
views
LabVIEW: How to pass the reference of the event object as well as the indicator's reference to the callback
I am trying to figure out a way to display a variable updated by .NET while LabVIEW's callback is called by .NET.
I have a simple application called "EventGenerator" written with .NET and what it ...
1
vote
1
answer
269
views
LabVIEW: How to listen to property changed in .NET from LabVIEW
I am writing a .NET library for LabVIEW to control our camera. I am not sure how to read property changed in .NET from LabVIEW.
For example, when we want to capture 10 images I want LabVIEW know ...
1
vote
1
answer
37
views
Staying away from global state with sync callback handlers in AcornJS
I am using AcornJS and trying to stay away from global variables. I am looking for a functional paradigm that will allow me to accumulate an array of data from two handlers from the types.visit ...
1
vote
0
answers
196
views
EventArgs can not be serialized in WCF , Generic callback event
Suppose these Data Contracts:
[DataContract]
public class TestTabularPoint_C
{
[DataMember]
public string Modality { get; set; }
[DataMember]
public string StudyDate { get; set; }
...
1
vote
1
answer
331
views
in Node.js- Is there any relationship between Events (EventEmitter and Listener Function objects) and the asynchronous callbacks
I am exploring Node.js.I understand that Node.js core API is built around the idiomatic asynchronous event-driven architecture
Now, by this I guess it means every time an asynchronous Function is ...
1
vote
0
answers
240
views
C++ Create callback from C++/CLI to C++
Hello for my project i have the "main" dll non cli in a process.
Then i have multiples instance of c# dll which embed a CLI dll.
From c# i can add a "EventHandler" to the cli.
Now the tricky part.
I ...
1
vote
0
answers
559
views
OpenCL 1.1 C++ Bindings: Create cl::Event object from cl_event type in callback
how can I create a cl::Event object from cl_event type in OpenCL event callback?
There's a cl::Event constructor in OpenCL 2.0 Reference:
Event (const cl_event &event, bool retainObject=false)
...
1
vote
0
answers
61
views
event.stopPropagation() stops all call back for that event or stops called script's functionality
I am having a html page in which I have implemented context menu.The html page is having a DIV inside a Div.I have successfully implemented the context-menu.
I am using the context-menu plugin script ...