I'm making App with Android Studio.
I have a
public class MainActivity extends Activity implements View.OnClickListener, OnCheckedChangeListener
And I need to add "AppCompatActivity" to the MainActivity.
I have searched on the Internet and I found only one can be used for extends.
So I Changed to
public class MainActivity extends Activity implements View.OnClickListener, OnCheckedChangeListener, AppCompatActivity
This and AppCompatActivity has an error that "Interface expected here".
How can I solve this problem?