Search code examples
javaandroidtoast

Did I ruin Toast command?


enter image description here

Hello everyone I am a beginner with Android Studio. It is redline under makeText I think I ruined it. It was working perfectly yesterday, when I write Toast.mak there is no suggestion about makeText there is just LENGHT_LONG LENGHT_SHORT Class and New as you can see What I need to do?


Solution

  • try to write down toast in lowercase and it will suggest you two option select second one the you don't need to write entire toast code all you have to pass the string.