老師,為什么我同樣的代碼敲進(jìn)去會(huì)報(bào)錯(cuò)?
Cannot cast from View to Button。
為什么不能實(shí)現(xiàn)從View到Button的轉(zhuǎn)換?為什么
老師,為什么我同樣的代碼敲進(jìn)去會(huì)報(bào)錯(cuò)?
Cannot cast from View to Button。
為什么不能實(shí)現(xiàn)從View到Button的轉(zhuǎn)換?為什么
2014-09-06
舉報(bào)
2014-09-09
不要賦值了 直接設(shè)置監(jiān)聽吧
2014-09-09
是不是在findViewById()的時(shí)候沒有強(qiáng)制類型轉(zhuǎn)換為Button?
2014-09-08
無(wú)圖無(wú)真相