I need to have the option to call the accompanying technique after a specified delay. In target c there was a like thing:
[self performSelector:@selector(DoSomething) withObject:nil afterDelay:5];
Is there an equivalent of this method in android with java? For example I need to be able to call a method after 5 seconds.
public void DoSomething()
{
//do something here
}