case TYPE_FILE:
convertView = LayoutInflater.from(context).inflate(R.layout.adapter_files, null);
break;
case TYPE_VIDEO:
convertView = LayoutInflater.from(context).inflate(R.layout.adapter_videos, null);
<BUG>break;
}</BUG>
}
switch (itemViewType) {
case TYPE_IMAGE:

case TYPE_FILE:
convertView = LayoutInflater.from(context).inflate(R.layout.adapter_files, null);
break;
case TYPE_VIDEO:
convertView = LayoutInflater.from(context).inflate(R.layout.adapter_videos, null);
break;
case TYPE_AUDIO:
convertView = LayoutInflater.from(context).inflate(R.layout.adapter_audios, null);
break;
}
}
switch (itemViewType) {
case TYPE_IMAGE:
