我有News_Fragment标签, ListView 数据来自服务器,另一个标签是Home_Fragment标签。 在News_Fragment中,我使用了类似News_Adapter的java类,包括RecyclerView,NewsResponse,NewsMainResponse& NewsTask 在这个Home_Fragment标签中,我想显示标题,描述和图像来自服务器 然后如何显示标题,图像和描述???
这是从ListView中的服务器获取的News_Fragment数据
这是我的Home_Fragment Screen
答案 0 :(得分:0)
使用android Volley Class https://developer.android.com/training/volley/index.html
检查此链接。这可以用于JSON和图像,但不能用于大文件。