In case the activity no longer is visible to the user, it’s registered the newest Stopped county, while the system invokes the fresh new onStop() callback. The device may also call onStop() if the interest keeps finished running, that is about to end up being ended.
In the event the pastime motions into avoided state, one lifecycle-alert part tied to the brand new activity’s lifecycle get this new Towards_Stop skills. This is how brand new lifecycle section can be prevent people possibilities you to definitely doesn’t need to run while the component isn’t obvious into screen.
Regarding the onStop() means, the app should discharge otherwise to evolve tips that are not needed as app is not noticeable to the user. Instance, their app you’ll stop animated graphics otherwise option away from great-grained so you’re able to coarse-grained venue reputation. Continue reading So it ple, whenever a freshly circulated craft talks about the complete monitor