android - how to show dynamic listview in fragments? -


i have slider menu on use fragments.i want show list view (json data on list view) on fragment.that's code

public class fragmentlist extends fragment {      listview sweepstakes_list;       @override     public view oncreateview(layoutinflater inflater, viewgroup container,bundle savedinstancestate)      {         view view = inflater.inflate(r.layout.fragment_home, null);           //here use code          return view;     } } 

how show dynamic listview in fragments?

use async task. call async task whenever want update list view.


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -