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
Post a Comment