freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內容

android的expandablelistview組件-資料下載頁

2025-08-16 23:12本頁面
  

【正文】 _width=200dip android:layout_height=wrap_content //LinearLayout LinearLayout xmlns:android= android:orientation=horizontal android:layout_width=wrap_content android:layout_height=wrap_content Button android:id=@+id/delete_ok android:layout_width=90dip android:layout_height=wrap_content android:text=OK /Button android:id=@+id/delete_no android:layout_width=90dip android:layout_height=wrap_content android:text=NO //LinearLayout /LinearLayout* 里View 定義:Java代碼 1. publicvoidcreateDialogDelete(){ 2. viewDelete=().inflate(,null)。 3. 4. dialogDelete=newDialog(this)。 5. (viewDelete)。 6. (刪除指定成員)。 7. 8. delete_id=(EditText)()。 9. delete_ok=(Button)()。 10. delete_no=(Button)()。 11. 12. (newOnClickListener(){ 13. publicvoidonClick(Viewv){ 14. //TODOAutogeneratedmethodstub 15. 16. Stringid=().toString()。 17. 18. if(!()){ 19. inti=(id)。 20. (i)。 21. (i)。 22. 23. ()。 24. 25. ()。 26. } 27. 28. 29. } 30. })。 31. 32. (newOnClickListener(){ 33. publicvoidonClick(Viewv){ 34. //TODOAutogeneratedmethodstub 35. ()。 36. } 37. })。 38. }public void createDialogDelete(){ viewDelete = ().inflate(, null)。 dialogDelete = new Dialog(this)。 (viewDelete)。 (刪除指定成員)。 delete_id = (EditText)()。 delete_ok = (Button)()。 delete_no = (Button)()。 (new OnClickListener(){ public void onClick(View v) { // TODO Autogenerated method stub String id = ().toString()。 if(! ()){ int i = (id)。 (i)。 (i)。 ()。 ()。 } } })。 (new OnClickListener(){ public void onClick(View v) { // TODO Autogenerated method stub ()。 } })。 }* 運行截圖:最后 說一下ExpandableListView的回調函數(shù) 用于監(jiān)聽那個id 被expandJava代碼 1. (newOnGroupClickListener(){ 2. 3. @Override4. publicbooleanonGroupClick(ExpandableListViewarg0,Viewarg1, 5. intarg2,longarg3){ 6. //TODOAutogeneratedmethodstub 7. (activity,[GroupClick]:+arg2,).show()。 8. 9. returnfalse。 10. } 11. 12. })。 13. 14. (newOnChildClickListener(){ 15. 16. @Override17. publicbooleanonChildClick(ExpandableListViewarg0,Viewarg1, 18. intarg2,intarg3,longarg4){ 19. //TODOAutogeneratedmethodstub 20. (activity,[ChildClick]:+arg2+:+arg3,).show()。 21. 22. returnfalse。 23. } 24. 25. })。
點擊復制文檔內容
法律信息相關推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1