OverkillManatee / beginning-android-games

Automatically exported from code.google.com/p/beginning-android-games
0 stars 0 forks source link

[Chapter 7] Wrong super called ch07 pg.280 GLSurfaceViewTest #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the book and the downloadable source code it read

"@Override
public void onResume() {
super.onPause();
glView.onResume();
}
@Override
public void onPause() {
super.onPause();
glView.onPause();
}"

the override of onResume calls super.onPause instead of super.onResume, it 
should read....

"@Override
public void onResume() {
super.onResume();
glView.onResume();
}
@Override
public void onPause() {
super.onPause();
glView.onPause();
}
"

Original issue reported on code.google.com by Hollow...@gmail.com on 24 Jul 2011 at 11:58

GoogleCodeExporter commented 9 years ago
What class? What chapter and page in the book?

Original comment by badlogicgames on 24 Aug 2011 at 4:10

GoogleCodeExporter commented 9 years ago
Sorry, i'm an idiot :/ Got it. Thanks a bunch!

Original comment by badlogicgames on 24 Aug 2011 at 4:10

GoogleCodeExporter commented 9 years ago
Fixed in second revision!

Original comment by badlogicgames on 6 Sep 2011 at 1:52