Error with findViewById in the email class by application

0

I'm developing an apk where you have forms that will be sent by email. So my class for window change was like this:

ByaddingthenecessarymethodssoIcansendemailsstraightfrommyapplication,Iencounteredtheseerrors:

    
asked by anonymous 12.05.2016 / 17:05

1 answer

1

You just need to add your View before findViewById

Button login = (Button)view.findViewById(R.id.enviar);
    
12.05.2016 / 20:31