October 2019
Intermediate to advanced
624 pages
20h 7m
English
Prior to Android 7.0 Nougat, most activities spent very little time in the paused state. Instead, activities passed through the paused state quickly on their way to either the resumed state or the stopped state. Because of this, many developers assumed they only needed to update their UI when their activity was in the resumed state. It was common practice to use onResume() and onPause() to start or stop any ongoing updates related to the UI (such as animations or data refreshes).
When multi-window mode was introduced in Nougat, it broke the assumption that resumed activities were the only fully visible activities. This, in turn, broke the intended behavior of many apps. Now, ...
Read now
Unlock full access