as discussed together, let's have a Compose.fromActivity method for handling activities