2015-09-23 17 views

回答

0

你必須使用數組列表來顯示在列表視圖中。所以首先你必須將arraylist(0)設置爲你想要的任何東西,然後在那個數組列表中添加動態數據。然後在你的列表視圖中設置這個數組列表。希望工程

0

在適配器類,getView方法

if(position==0){ 
    //set the static content for list item 
}else{ 
    //set the dynamic content for list item 
} 
相關問題