How to add drawable image to expandable list elements
===

I have an expandable list in my application. In group view each element has an image in its left side. for this i took an xml for group row with an image view and textview inside a relative layout. 
In my custom adapter class, am adding those text and images. text coming from database. and for image am giving drawable name like follows.

    TextView event_title_field = (TextView) convertView.findViewById(R.id.event_name_field);
	event_title_field.setText(title);    

here title is coming from database.
    
    ImageView event_logo = (ImageView) convertView.findViewById(R.id.event_row_image);
	event_logo.setImageResource(R.drawable.army);    

It is working fine. But it is not dynamic one and for all rows same image will adding. The drawable image name and the list element text are same. How to give drawable address by using its title?
 