android - How I set this List with Hashmap Datatype to a list view? -


i have list hash map data type , want set custom layout please guys me. m frustrated.

    public void showsongs(list<hashmap<string, string>> songs)  {      ...//what?      list.setadapter(adapter);  }

use simpleadapter: ex.

simpleadapter adapter = new simpleadapter(context, maps, r.layout.yourlayoutname, from, to) 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -