I'm following this tutorial to implement Expandable ListView: https://www.youtube.com/watch?v=GD_U0-N3zUI&t=404s I did everything same as in it, But:
@Override
public View getGroupView(int i, boolean b, View view, ViewGroup viewGroup) {
String title=(String)this.getGroup(i);
if(convertView==null){
LayoutInflater layoutInflater=(LayoutInflater)this.ctx.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
convertView=layoutInflater.inflate(R.layout.parent);
}
return null;
}
I'm getting this error: "Cannot resolve symbol convertView"