package com.epson.cameracopy.ui;

import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;


/* renamed from: com.epson.cameracopy.ui.ItemData */
/* compiled from: FolderSelectActivity */
class ItemData {
    String mFileName = null;

    ItemData(String str) {
        if (str != null) {
            mFileName = new String(str);
        }
    }

    public void DrawItem(int i, View view, ViewGroup viewGroup) {
        ImageView imageView = (ImageView) view.findViewById(R.id.file_item_image);
        TextView textView = (TextView) view.findViewById(R.id.file_item_text);
        if (mFileName != null) {
            imageView.setImageResource(R.drawable.folder);
            textView.setText(mFileName);
            return;
        }
        imageView.setImageResource(R.drawable.parent_folder);
        textView.setText("");
    }
}
