[Solved] What is the correct way to declare this?


looks like you have imported the wrong R file is imported R file is of your project or android.R
Look and import correct R file that is your package name (com.example.R)

0

solved What is the correct way to declare this?