János János - 1 year ago 121
Android Question

Container view controller in Android?

In iOS app I have a widget, a menu that is part of all my screen. Is it possible in Android to nest activity into other activity, and so widget in outer activity is able to see in inner activity? I want avoid any code duplication, redundancy.

enter image description here

Answer Source

Yes, but you need to use fragments. An activity cannot contain another activity. About the navigation components, you can always check the design support library and use the tabs component or the navigation view.

enter image description here

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download