2016-06-27 11 views
-1

說明和圖像我有News_Fragment標籤與的ListView從服務器數據了,另一個標籤是Home_Fragment選項卡。 在News_Fragment我已經使用java類像News_Adapter與RecyclerView,NewsResponse,NewsMainResponse & NewsTask 在這個Home_Fragment選項卡,我想顯示標題,描述和圖像從服務器 然後如何顯示標題,圖像和說明?如何讓TextView的,從Json的服務器

這是News_Fragment數據從服務器中的ListView了

enter image description here

這是我Home_Fragment屏幕

enter image description here

+0

如何提取圖片,說明,從服務器名稱,並顯示到Home_Fragment的Android? –

回答

0

使用Android排球類 https://developer.android.com/training/volley/index.html

檢查此鏈接。這可以用於JSON和圖像,但不適用於大文件。

+0

我不想使用的ListView ....不是要求數據出現在ListView中 –

+0

只是目前的數據在佈局?那麼如何? –

相關問題