Reputation: 8071
As per Android design guidelines to support multiple screens(Phone and tablet),
In phone,why we need to start another activity B and put detail fragment on it? simply we can replace master-fragment by detail-fragment in Activity A itself?
Upvotes: 2
Views: 83
Reputation: 7718
Indeed, Google now recommends using a single Activity.
Today we are introducing the Navigation component as a framework for structuring your in-app UI, with a focus on making a single-Activity app the preferred architecture.
Upvotes: 0
Reputation: 1006944
That is certainly possible. It will make Activity A more complicated, though, and overall it may not simplify your app.
Upvotes: 1