Is it possible to show two activities on the same screen at the same time? I need each activity to show data that changes with time.
the mechanism of developing a multi-screen application inside a single activity is very simple. it is done by using the 'visibility' flag associated with each ui element.
A task is a collection of activities that users interact with when trying to do something in your app. These activities are arranged in a stack—the back stack—in the order in which each activity is opened. For example, an email app might have one activity to show a list of new messages.
Task affinity lets you define which task an activity belongs to. By default, an activity has the same task affinity as its root activity. With task affinity, we can now separate activities into different tasks.
Or maybe you can use AndroidFragments
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With