課程
/移動(dòng)開發(fā)
/Android
/Android攻城獅的第二門課(第1季)
new一個(gè)DataPickerDialog的時(shí)候沒(méi)有怎么辦,是什么問(wèn)題啊,求教大神
2019-01-13
源自:Android攻城獅的第二門課(第1季) 3-6
正在回答
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
new DatePickerDialog(context, theme, callBack, year, monthOfYear, dayOfMonth)
}
注意自己new?DatePickerDialog的地方,是在onCreate方法內(nèi)new。
舉報(bào)
本課程由淺入深地帶您學(xué)會(huì)Android的常用控件的開發(fā)和使用
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)
2019-01-31
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
new DatePickerDialog(context, theme, callBack, year, monthOfYear, dayOfMonth)
}
注意自己new?DatePickerDialog的地方,是在onCreate方法內(nèi)new。