編輯電子書 - ListView列表容器
書名:
型號:
價格:
簡介:
List列表容器是一種滾動顯示項目列表的視圖群組(View Group)集合。使用者可以藉由下拉滾動列表內容的方式自動更新列表資訊於List列表容器中,這也是一般智慧型手機在瀏覽多項列表資訊的最直接導覽手法。 ListView是用來顯示列表資訊的視圖,透過Adapter(適配器)可以將陣列變數、資料庫(Cursor)或網路等方式取得的列表資料集合注入到實體ListView列表容器中。若無列表內容時可另外搭配TextView與setEmptyView()方法來顯示「No Record!」給使用者。 點圖觀看大圖 點圖觀看大圖 點圖觀看大圖 從無到有寫出一個簡單的ListView範例程式: 點圖觀看大圖
內容:
<div class="txt01" style="line-height: 24px; font-size: 15px; color: rgb(46, 124, 167); font-family: Arial, 新細明體; position: relative; left: 0px; width: 570px; background-color: rgb(255, 255, 255);"> <div class="txt01" style="position: relative; left: 24px; width: 560px;"> <table style="table-layout:fixed; word-break:normal; word-wrap:break-word"> <tbody> <tr> <td>List列表容器是一種滾動顯示項目列表的視圖群組(View Group)集合。使用者可以藉由下拉滾動列表內容的方式自動更新列表資訊於List列表容器中,這也是一般智慧型手機在瀏覽多項列表資訊的最直接導覽手法。</td> </tr> </tbody> </table> </div> </div> <div class="txt01" style="line-height: 24px; font-size: 15px; color: rgb(46, 124, 167); font-family: Arial, 新細明體; position: relative; left: 0px; width: 570px; background-color: rgb(255, 255, 255);"> </div> <div class="txt01" style="line-height: 24px; font-size: 15px; color: rgb(46, 124, 167); font-family: Arial, 新細明體; position: relative; left: 0px; width: 570px; background-color: rgb(255, 255, 255);"> <div class="txt01" style="position: relative; left: 24px; width: 560px;"> <table style="table-layout:fixed; word-break:normal; word-wrap:break-word"> <tbody> <tr> <td>ListView是用來顯示列表資訊的視圖,透過Adapter(適配器)可以將陣列變數、資料庫(Cursor)或網路等方式取得的列表資料集合注入到實體ListView列表容器中。若無列表內容時可另外搭配TextView與setEmptyView()方法來顯示「No Record!」給使用者。</td> </tr> </tbody> </table> </div> </div> <div style="font-family: Arial, 新細明體; background-color: rgb(255, 255, 255);"> <table> <tbody> <tr> <td><img id="Img" src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/1_1_1.jpg" style="height:399px; width:268px" /></td> </tr> <tr> <td> <p> </p> </td> </tr> </tbody> </table> </div> <div style="font-family: Arial, 新細明體; background-color: rgb(255, 255, 255);"> <table> <tbody> <tr> <td> <p> </p> </td> <td> <table align="center" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_l01.gif" style="height:13px; width:13px" /></td> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_t01.gif" style="height:13px; width:13px" /></td> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_l03.gif" style="height:13px; width:13px" /></td> </tr> <tr> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_t02.gif" style="height:13px; width:13px" /></td> <td><img id="img1" src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/1_1_2.jpg" style="cursor:pointer; height:183px; width:500px" title="點圖觀看大圖" /></td> <td> </td> </tr> <tr> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_l02.gif" style="height:13px; width:13px" /></td> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_t03.gif" style="height:13px; width:13px" /></td> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_l04.gif" style="height:13px; width:13px" /></td> </tr> </tbody> </table> </td> </tr> <tr> <td> <p> </p> </td> </tr> </tbody> </table> </div> <div style="font-family: Arial, 新細明體; background-color: rgb(255, 255, 255);"> <table> <tbody> <tr> <td> <p> </p> </td> <td> <table align="center" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_l01.gif" style="height:13px; width:13px" /></td> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_t01.gif" style="height:13px; width:13px" /></td> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_l03.gif" style="height:13px; width:13px" /></td> </tr> <tr> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_t02.gif" style="height:13px; width:13px" /></td> <td><img id="img2" src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/1_1_3.jpg" style="cursor:pointer; height:151px; width:500px" title="點圖觀看大圖" /></td> <td> </td> </tr> <tr> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_l02.gif" style="height:13px; width:13px" /></td> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_t03.gif" style="height:13px; width:13px" /></td> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_l04.gif" style="height:13px; width:13px" /></td> </tr> </tbody> </table> </td> </tr> <tr> <td> <p> </p> </td> </tr> </tbody> </table> </div> <div style="font-family: Arial, 新細明體; background-color: rgb(255, 255, 255);"> <table> <tbody> <tr> <td> <p> </p> </td> <td> <table align="center" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_l01.gif" style="height:13px; width:13px" /></td> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_t01.gif" style="height:13px; width:13px" /></td> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_l03.gif" style="height:13px; width:13px" /></td> </tr> <tr> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_t02.gif" style="height:13px; width:13px" /></td> <td><img id="img3" src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/1_1_4.jpg" style="cursor:pointer; height:246px; width:500px" title="點圖觀看大圖" /></td> <td> </td> </tr> <tr> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_l02.gif" style="height:13px; width:13px" /></td> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_t03.gif" style="height:13px; width:13px" /></td> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_l04.gif" style="height:13px; width:13px" /></td> </tr> </tbody> </table> </td> </tr> <tr> <td> <p> </p> </td> </tr> </tbody> </table> </div> <div class="txt01" style="line-height: 24px; font-size: 15px; color: rgb(46, 124, 167); font-family: Arial, 新細明體; position: relative; left: 0px; width: 570px; background-color: rgb(255, 255, 255);"> </div> <div class="txt01" style="line-height: 24px; font-size: 15px; color: rgb(46, 124, 167); font-family: Arial, 新細明體; position: relative; left: 0px; width: 570px; background-color: rgb(255, 255, 255);"> <div class="txt01" style="position: relative; left: 24px; width: 560px;"> <table style="table-layout:fixed; word-break:normal; word-wrap:break-word"> <tbody> <tr> <td>從無到有寫出一個簡單的ListView範例程式:</td> </tr> </tbody> </table> </div> </div> <div style="font-family: Arial, 新細明體; background-color: rgb(255, 255, 255);"> <table> <tbody> <tr> <td> <p> </p> </td> <td> <table align="center" border="0" cellpadding="0" cellspacing="0"> <tbody> <tr> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_l01.gif" style="height:13px; width:13px" /></td> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_t01.gif" style="height:13px; width:13px" /></td> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_l03.gif" style="height:13px; width:13px" /></td> </tr> <tr> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_t02.gif" style="height:13px; width:13px" /></td> <td><img id="img4" src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/1_1_5.jpg" style="cursor:pointer; height:142px; width:500px" title="點圖觀看大圖" /></td> <td> </td> </tr> <tr> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_l02.gif" style="height:13px; width:13px" /></td> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_t03.gif" style="height:13px; width:13px" /></td> <td><img src="http://www.pcschool.tv/scorm12/class/05187TC1/class800/05187tc1/05187tc1_m7_1/images/bor_l04.gif" style="height:13px; width:13px" /></td> </tr> </tbody> </table> </td> </tr> </tbody> </table> </div>
上架
封面圖:
當前封面:
支援格式: JPG, PNG, GIF (最大 2MB)
更新電子書
返回列表