I am extending ArrayAdapter:
public class ImgItemAdapter extends ArrayAdapter<ImageData>
I am trying to implement its constructor:
public ImgItemAdapter(Context context, int textViewResourceId, String[] imageArray) {
super(context, textViewResourceId, imageArray);
inflator = ((Activity)context).getLayoutInflater();
imgUrlArray = imageArray;
}
Problem is - when I am trying to compile it is giving me this error message:
Error:(28, 9) cannot find symbol constructor ArrayAdapter(android.content.Context,int,java.lang.String[])
Any ideas?
Here is my source code: Sample Code