I'm fairly new to programming in general so any help would be appreciated. Im coding in java with eclipse and I am getting this error on the last line "EmployeeAction cannot be resolved to a type" and I already imported java.util.ArrayList. Any idea on what I'm doing wrong? Thanks
EDIT: Thanks All. I was following a tutorial
It provided the code for EmployeeDetails.java here which I guess is wrong:
package samples.employeedirectory;
import java.util.ArrayList;
import java.util.List;
import android.app.ListActivity;
import android.content.Intent;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.net.Uri;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.TextView;
public class EmployeeDetails extends ListActivity {
protected TextView employeeNameText;
protected TextView titleText;
protected ArrayList<EmployeeAction> actions;