在真機4.2運行什么都不顯示,eclipse與手機也不報錯。
JSON可以正常解析出30個數(shù)組, 在LogCat下面能正常打印所有解析到的數(shù)據(jù),
在onPostExecute 通過mlistView.setAdapter(adapter); ?運行之后 手機無任何顯示,白屏。
請問如何處理,謝謝。
"status":1,"data":[{"id":1,"name":"Tony\u8001\u5e08\u804ashell\u2014\u2014\u73af\u5883\u53d8\u91cf\u914d\u7f6e\u6587\u4ef6","picSmall":"http:\/\/img.mukewang.com\/55237dcc0001128c06000338-300-170.jpg","picBig":"http:\/\/img.mukewang.com\/55237dcc0001128c06000338.jpg","description":"\u4e3a\u4f60\u5e26\u6765shell\u4e2d\u7684\u73af\u5883\u53d8\u91cf\u914d\u7f6e\u6587\u4ef6","learner":12312},{"id":2,"name":"\u6570\u5b66\u77e5\u8bc6\u5728CSS\u52a8\u753b\u4e2d\u7684\u5e94\u7528","picSmall":"http:\/\/img.mukewang.com\/55249cf30001ae8a06000338-300-170.jpg","picBig":"http:\/??等等
2015-06-12
樓上正解
2015-08-05
問題已解決,我是讀取Json數(shù)據(jù)出了問題。沒有把URL傳入到execute中,少了new NewsAsyncTask().execute(URL);這行
2015-08-05
同,白屏,沒有報錯但是什么都不顯示。樓主問題解決了嗎
2015-06-12
上解析代碼和adapter的代碼