Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
Component used: Activity Compose
Version used: 1.8.0
For apps that are built fully using Compose, there's a significant amount of Android specific knowledge needed to actually get that UI to be displayed:
ComponentActivity
) since you can't useandroid.app.Activity
for Compose UIonCreate()
, callingsetContent
, etc.)It would be nice if there was a way to generate all of that for you. It could be as simple as adding another annotation to a specific
@Composable
method.This would be dependent on being able to generate the correct activity class and APIs to add that activity class to the AndroidManifest.xml for you.