Skip to content
Advertisement

setOnClickListener start another activity

I’m trying to start another activity by pressing on the cardview which has a friend finder id. But when I write home.java it gives me problems in the setOnClickListener. At homeActivity it tells me Cannot resolve method ‘homeActivity’ in ‘HomeActivity’. because?

JavaScript

Advertisement

Answer

JavaScript

If there is no code in the manifest, write it

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement