Date: 2025-03-26 22:30:48
Score: 2.5
Natty:
see: Is there a safer way to get the activity in Jetpack Compose?
Compose now has a composition local LocalActivity
val activity = LocalActivity.current
Android Activity Release Note
Reasons:
- Probably link only (1):
- Low length (1):
- Has code block (-0.5):
- Low reputation (1):
Posted by: ProgramMan