FYI...I'm following a tutorial on Lynda.com and this was mentioned as important. I would really appreciate any help to understand 'why' it needs to be Cast as a button when it IS a button already and b was type cast as a button too.
Button b = (Button) findViewById(R.id.button1);
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
14 Experts available now in Live!