Resources r1 = getResources();
String[] refrigerant = r1.getStringArray(R.array.refrigerant);
if (refrigerant == "")
{
if (et1.getText().toString() == refrigerant[i3]
{
flag = true;
}
I got the error incompatible operand types String[] and string please give me solution.