I flagged this question as duplicate of this question. Before doing so, I copied & pasted the same solution as a comment and as expected, it solved the OP's problem. Thus proving that it was indeed a duplicate question. He just wanted to call a method after a delay of specified time, which was what the older question was about as well.
But today I saw that it was resolved as disputed (It was pending before today, as far as I can remember). Why wasn't it marked as helpful? Did I flag it wrongly?
Should we not flag a question as such which might use different words but requires the same solution? This SE Meta post says:
Basically, questions are duplicates if they have the same answers. This includes not only word-for-word duplicates, but also the same idea expressed in different words.
It did have the same answer (but obviously required technical knowledge of the subject to know so).
But it also says:
Questions asking about the same aspect of the same concept, but with different examples, may or may not be considered duplicates.
They did use different examples and different scenarios despite having the same solution. So I am sort of confused here.