How to add image and text to both parentgroup and childgroup of expandablelistview dynamically from database

  • Replies:0
anish
  • Forum posts: 1

Dec 1, 2016, 8:49:14 AM via Website

Hii
I need the help of you

How to add image and text to both parentgroup and childgroup of expandablelistview dynamically from database where i use hashmap to pass the data retrived from json to the adapter class

public CustomListAdapter15(Context context, List> models2, List> models) {

        this.context = context;
        this.models2 = models2; //parentItems
        this.models = models;  //childtems

        inflater = (LayoutInflater) context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
        this.counters = new int[30];

        //this.session_email = sPref.getString("SESSION_UID","");

    }

Reply