Simple fix, string type should be uppercase.
string[] items = new string[]{"aa","bb"}; ArrayAdapter<string> adapter = new ArrayAdapter<string>(this,R.layout.reminder_row,R.id.text1,items);
becomes:
string[] items = new string[]{"aa","bb"}; ArrayAdapter<string> adapter = new ArrayAdapter<string>(this,R.layout.reminder_row,R.id.text1,items);
@gt_ebuddy is right, delete this line:
import android.R.string;
Using Ctrl + Shift + O is the easiest way to automatically import classes, but sometimes it leads you astray when it tries to import something from your R package file.
source share