AppCompatActivity
extends FragmentActivity
which extends ComponentActivity
.
ComponentActivity
has all you need for a Compose-only app.
If you need AppCompat APIs, an AndroidView
which works with AppCompat or MaterialComponents theme, or you need Fragment
s then use AppCompatActivity
.
Note: it requires at least the AppCompat 1.3.0
version.