User Tools

Site Tools


android_learning:headfirst_android_development_notes:chapter_4

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
android_learning:headfirst_android_development_notes:chapter_4 [2016/01/17 23:59] mithatandroid_learning:headfirst_android_development_notes:chapter_4 [2016/02/14 23:08] (current) – [p. 147: Code blocks] mithat
Line 179: Line 179:
     }     }
 } }
-<code>+</code>
  
 ===== p. 149: Expected app behavior ===== ===== p. 149: Expected app behavior =====
Line 189: Line 189:
  
 ===== pp. 154-158 ===== ===== pp. 154-158 =====
-Note that in the final version of this app, methods ''onStart'' and ''onStop'' are no longer needed. This is because ''onResume'' will unconditionally be called after ''onStart'' and ''onPause'' normally gets called before ''onStop''.+Note that in the final version of this app, methods ''onStart'' and ''onStop'' are no longer needed. This is because ''onResume'' will be called after ''onStart'' and ''onPause'' will normally be called before ''onStop''.
  
 Coming up with a test case on an AVD that will partially obscure your app and put it into "Pause" is not trivial. However, if you start and restart the app, it should behave the same as before (even though you have now placed the run/don't run code in ''onResume'' and ''onPause''. Coming up with a test case on an AVD that will partially obscure your app and put it into "Pause" is not trivial. However, if you start and restart the app, it should behave the same as before (even though you have now placed the run/don't run code in ''onResume'' and ''onPause''.
android_learning/headfirst_android_development_notes/chapter_4.1453075190.txt.gz · Last modified: 2016/01/17 23:59 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki