Overview - Activity results
What is it?
Activity results in Android let one screen (Activity) send data back to the screen that started it. When you open a new screen to get some input or choice, you often want to know what the user picked or typed. Activity results provide a way to receive that information once the second screen closes. This helps apps flow smoothly between screens with shared information.
Why it matters
Without activity results, apps would struggle to pass data back from one screen to another, making user interactions clunky and disconnected. Imagine filling a form on one screen and not having the previous screen know what you entered. Activity results solve this by creating a clear, reliable way to send data back, improving user experience and app logic.
Where it fits
Before learning activity results, you should understand basic Android Activities and Intents. After mastering activity results, you can explore more advanced communication patterns like ViewModel sharing, fragments communication, or using modern navigation components.