Error:(43, 35) error: no suitable method found for findViewById(TextView) method Activity.findViewById(int) is not applicable (argument mismatch; TextView cannot be converted to int) method AppCompatActivity.findViewById(int) is not applicable (argument mismatch; TextView cannot be converted to int)
Why this error occurred in this code:
lblName = (TextView) findViewById(lblName);
lblEmail = (TextView) findViewById(lblEmail);