0
我試圖創建搜索欄,從服務器搜索json數據並將結果呈現在ListView中。數據是以數組的形式存在的。例如從服務器搜索json數組的搜索欄
ProductList: [
{ ProductCode: "10012010",
ProductName: "Kell",
ProductGrammage: "120 gm",
ProductBarcode: "89",
ProductCatCode: "40",
ProductCatName: "Packed Food and Condiments",
ProductSubCode: "4001",
ProductSubCodeName: "Breakfast & Cereals",
ProductMRP: "120",
ProductBBPrice: "115" },
ect...
]
因此,讓我們說我在搜索欄中鍵入凱爾。我想讓這個Kell對象在我的列表視圖中彈出。
在這裏看到我的回答:http://stackoverflow.com/a/19860624/2252830 – pskink 2015-01-31 19:14:16