新聞中心

EEPW首頁 > 嵌入式系統(tǒng) > 設計應用 > Android用戶界面詳解

Android用戶界面詳解

作者: 時間:2016-10-08 來源:網(wǎng)絡 收藏

本文引用地址:http://butianyuan.cn/article/201610/305851.htm

private OnItemClickListener mMessageClickedHandler = new OnItemClickListener() {

public void onItemClick(AdapterView parent, View v, int position, long id)

{

// Display a messagebox.

showAlert(You've got an event, Clicked me!, ok, false);

}

};

// Now hook into our object and set its onItemClickListener member

// to our class handler object.

mHistoryView = (ListView)findViewById(R.id.accept_button);



關鍵詞:

評論


相關推薦

技術專區(qū)

關閉