阅读背景:

第一次启动片段时,Android ListView不显示内容

来源:互联网 

I have a listview in a fragment with a customadapter loading a list of products from my mysql database. When I navigate to the fragment from my navigation drawer activity for the 1st time, it doesn't show any items but the same get printed in the log. But when the same fragment is initiated 2nd time, all items are visible. Here is my code from the onCreateView() of fragment:I have a listview in a fragment with a customad




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: