Chapter 8. Problem with getString()

Hi!
I have a problem with ‘dialogTitle’ and ‘positiveButtonTitle’.
In my project and starter project from materials when I write vals ‘dialogTitle’ and ‘positiveButtonTitle’ method getString() try to import next variants:


In the final project, the getString() methods are defined normally, while there are no imports associated with it.
What is the problem?

Problem is solved. Function ‘showCreateListDialog()’ was outside of class MainActivity.