android - At what point in the Activity Lifecycle does an ActivityMonitor fire? -


i have test using activitymonitor wait activity start, e.g.

// ins instance of instrumentation class. instrumentation.activitymonitor mon = new instrumentation.activitymonitor((string)null, null, false); ins.addmonitor(mon); // start activity activity = ins.waitformonitorwithtimeout(mon, mswaittime); 

at point when waitformonitorwithtimeout returns, point in activity lifecycle activity at, has been through create/start/resume etc, or still going on ? docs returns started activity, no indication of state activity in.

this doesn't appear documented anywhere, testing shows waitformonitorwithtimeout call returns in new activities lifecycle, far can tell, after oncreate returns.


Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

java - Getting corefrences with Standard corenlp package -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -