What I want is to do this (which is in Java):
public class MainActivity exteds AppCompatActivity{
ImageView logo;
@override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
logo = findViewById(R.id.logo);
}
when taking it to Kotlin I get an error:
Please could you tell me which of the options to keep so that the error does not appear?
and what class is TODO()
?