|
|
|
Android - ลบแบบ Row Database Android ไม่ได้อ่ะค่ะ ช่วยแนะนำหน่อยนะคะ |
|
|
|
|
|
|
|
Code (Android-Java)
public void onCreateContextMenu(ContextMenu menu, View v,
ContextMenuInfo menuInfo) {
//if (v.getId()==R.id.list) {
AdapterView.AdapterContextMenuInfo info = (AdapterView.AdapterContextMenuInfo)menuInfo;
menu.setHeaderTitle("Command for : " + MebmerList.get(info.position).get("Name").toString());
String[] menuItems = getResources().getStringArray(R.array.CmdMenu);
for (int i = 0; i<menuItems.length; i++) {
menu.add(Menu.NONE, i, i, menuItems[i]);
}
//}
}
ลืมตัวนี้หรือเปล่าครับ
|
|
|
|
|
Date :
2013-08-13 06:20:12 |
By :
mr.win |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 03
|