title: How to set String Value to ExpandableListView Childs text on click?
body: <p>Got a nice explanation and this may prove useful to anyone trying to do the same!!!</p>
  
  <pre><code>   public class ExpList extends ExpandableListActivity
  {
   String gametype;
  
    // strings for group elements
  
      static final String arrGroupelements[] = 
      {
     "POKER TOURNAMENTS",
     "SLOTS TOURNAMENTS",
     "ROULLETTE/CRAPS TOURNAMENTS",
     "BLACKJACK TOURNAMENTS",
     "BINGO/CHARITY BINGO"
   };
  
  
    // strings for child elements
  
   static final String arrChildelements[][] = 
   {
     {
    "TEXAS HOLD'EM",
    "OMAHA HIGH-LOW",
    "SEVEN CARD STUD",
    "THREE CARD POKER",
    "OTHER POKER VARIANTS",
    "ONLINE/SATTELITE TOURNAMENTS"
     },
     {
    "SLOTS"
     },
     {
    "ROULLETTE",
    "CRAPS"
  
     },
     {
    "BLACKJACK"
     },
     {
         "BINGO"
          }
      };    
  </code></pre>
  
  <p>AND working onChildClick function as follows to set value of string to "TEXAS HOLD 'EM" when that child is clicked below</p>
  
  <pre><code>@Override
          public boolean onChildClick(ExpandableListView parent, View v,
                  int groupPosition, int childPosition, long id) {
              //ExpandableListAdapter adapter = getExpandableListAdapter();
              gametype = ExpList.arrChildelements[groupPosition][childPosition];
              //---------------------
              Intent pullt = new Intent(ExpList.this,
                      SearchActivity.class);
              Bundle bundle = new Bundle();
              bundle.putString("gametype", gametype);
              pullt.putExtras(bundle);
              pullt.putExtra("gametype", gametype);
  
              startActivity(pullt);
              //---------------------
              return false;
          }
  </code></pre>