Im using instrumentation to control an application. I was wondering how can I detect if a transition from activity to another is happening. Is there some type of listener ?
Im using instrumentation to control an application. I was wondering how can I detect
Share
the lifecycle functions can help you here
Activity A will have
onPause()called, and Activity B will haveonCreate()onResume()andonStartcalledyou can place code in these methods to tell you stuff