Wrox Programmer Forums
|
BOOK: Beginning Android Application Development
This is the forum to discuss the Wrox book Beginning Android Application Development by Wei-Meng Lee; ISBN: 978-1-1180-1711-1
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Android Application Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 6th, 2013, 01:57 PM
Registered User
 
Join Date: Jun 2008
Posts: 9
Thanks: 1
Thanked 0 Times in 0 Posts
Default Typo on p. 84?

Hi, All:

On p. 84, the author says that you can write onClick() in FragmentsActivity.java. The Button associated with onClick() is defined in fragment2.xml, and associated with Fragment2.java, so should onClick() be defined in Fragment2.java? Or is there some magic happening that if a UI control in a fragment can't find its handler, it consults the activity that it is embedded in?

Thanks for any info,

Michael





Similar Threads
Thread Thread Starter Forum Replies Last Post
Typo or not a typo? Evasive22 BOOK: Beginning Microsoft Visual Basic 2010 1 May 19th, 2010 09:28 PM
Typo? russray BOOK: Professional Android 2 Application Development 1 March 7th, 2010 10:26 AM
Pg.84 Last Paragraph - master detail report/product name waylock BOOK: Beginning Oracle Application Express ISBN: 9780470388372 2 November 20th, 2009 03:45 PM
Bitwise OR -pages 84, 85 Nick Y BOOK: Ivor Horton's Beginning Visual C++ 2005 1 June 24th, 2006 10:43 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.