В чем может быть ошибка?
Error:(13, 69) Gradle: error: cannot find symbol variable listView
private ListView listView = (ListView)findViewById(R.id.listView);
listView присутствует в активити:
<ListView
android:id="@+id/listView"
android:background="@color/colorWhite"
android:layout_width="0dp" android:layout_marginEnd="16dp" app:layout_constraintRight_toRightOf="parent"
android:layout_marginRight="16dp" android:layout_marginStart="16dp"
app:layout_constraintLeft_toLeftOf="parent" android:layout_marginLeft="16dp" android:layout_marginTop="8dp"
app:layout_constraintTop_toBottomOf="@+id/textChooseTypePlan" android:layout_height="50dp"/>
Захожу в R , а там отсутствует данный id.
import android.R
есть?