課程
/移動(dòng)開發(fā)
/Android
/Android實(shí)現(xiàn)抽獎(jiǎng)轉(zhuǎn)盤
不知道那個(gè)是怎么調(diào)出來的
2016-06-14
源自:Android實(shí)現(xiàn)抽獎(jiǎng)轉(zhuǎn)盤 2-1
正在回答
當(dāng)調(diào)用線程構(gòu)造方法時(shí)Eclipse會(huì)提示你this(也就是SurfaceTemplate這個(gè)類)沒有實(shí)現(xiàn)Runnable接口,你根據(jù)提示讓它實(shí)現(xiàn)該節(jié)口,然后添加必須覆寫的run方法即可
舉報(bào)
使用SurfaceView來實(shí)現(xiàn)抽獎(jiǎng)轉(zhuǎn)盤,剖析抽獎(jiǎng)轉(zhuǎn)盤背后的概率機(jī)制
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2016-06-21
當(dāng)調(diào)用線程構(gòu)造方法時(shí)Eclipse會(huì)提示你this(也就是SurfaceTemplate這個(gè)類)沒有實(shí)現(xiàn)Runnable接口,你根據(jù)提示讓它實(shí)現(xiàn)該節(jié)口,然后添加必須覆寫的run方法即可