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:55] mithatandroid_learning:headfirst_android_development_notes:chapter_4 [2016/02/14 23:08] (current) – [p. 147: Code blocks] mithat
Line 1: Line 1:
-<WRAP center round info 60%> 
-Under development. 
-</WRAP> 
- 
 ====== Chapter 4 notes ====== ====== Chapter 4 notes ======
  
Line 183: Line 179:
     }     }
 } }
-<code>+</code>
  
-===== p. 149: Expected behavior ===== +===== p. 149: Expected app behavior ===== 
-FIXME+{{youtube>eJI5Hv7hiR0??600x360&rel=0}} 
 +\\
  
 ===== pp. 152-153 ===== ===== pp. 152-153 =====
Line 192: 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''.
Line 200: Line 197:
 ===== p. 162 ===== ===== p. 162 =====
 The diagram is a good one to copy and tape next to your computer. The diagram is a good one to copy and tape next to your computer.
- 
  
android_learning/headfirst_android_development_notes/chapter_4.1453074940.txt.gz · Last modified: 2016/01/17 23:55 by mithat

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki