80,351
社区成员
发帖
与我相关
我的任务
分享
public void onPrepareDialog(int id, Dialog dialog) {
switch(id) {
case (TIME_DIALOG) :
SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss");
Date currentTime = new Date(java.lang.System.currentTimeMillis());
String dateString = sdf.format(currentTime);
AlertDialog timeDialog = (AlertDialog)dialog;
timeDialog.setMessage(dateString);
break;
}
}
protected void onPrepareDialog(int id, Dialog dialog){
dialog.setTitle("选中了:" + selecd_itemid);
TextView tv = (TextView)dialog.findViewById(R.id.dialog_iteminfo_TextView);
tv.setText("原价225,现价69。 商品短介绍.....原价225,现价69。 商品短介绍.....原价225,现价69。 商品短介绍.....原价225,现价69。 商品短介绍.....原价225,现价69。 商品短介绍.....原价225,现价69。 商品短介绍.....原价225,现价69。 商品短介绍.....");
}