Errata & Corrections: 4th Edition

Hour 2:

All code and details are on Github Hour 2 Application

Primarily,

Intent = getIntent();

should be

Intent intent = getIntent();

Hour 8:

All code and details are on Github Hour 8 Application

In the book LISTING 8.2 returns a view. It should return a TextView

 20:  public View getView(int position, View convertView, ViewGroup parent) {
 21:   TextView textView = (TextView) mInflater.inflate( 
 22:                                  R.layout.text_view_item, null);
 23:   textView.setText(mPies[position]);
 24:   return view;
 25:  }
  

should be

 20:  public View getView(int position, View convertView, ViewGroup parent) {
 21:    TextView textView = (TextView) mInflater.inflate( 
 22:                                  R.layout.text_view_item, null);
 23:    textView.setText(mPies[position]);
 24:    return textView;
 25:  }
 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s