Getting error in INTENT(A straight horizontal line on intent word).Trying to do "jump to next activity program"



It means that the Contract.Intents class is deprecated.

Also, Android Studio is suggesting all the types that match the name of the variable.

In this case the name is intent so Android Studio suggests as a type all the classes that contain Intent in the name. It’s up to you to decide the correct one or let kotlin infer it by specifying the variable initialization.