Template design for fragments in android

I am reading a book, and it says, “Right now, the fragments are very new, so there are some well-established patterns to follow”

But I don’t know where to read more about design patterns for fragments in general.

I want to make an application with a lot of different screens, and the application should be accessible for the tablet and phone, so the fragments will help me a lot. But, as I said, this is big, and I'm going to start developing it. So I really need a good design. And before I start, I want to see some design template templates for fragments in android.

Am I some kind of best practice or something else? I read a lot about fragments of their use and all these things, but I did not find some well-designed template for creating applications for phones and tablets.

I really need an advanced chapter about this. thanks

+8
android design design-patterns android-fragments fragment
source share
1 answer

You probably read this, but just in case, the Android Fragment Reference Document pretty well explains how to separate your interface and the example at the bottom of the page shows a reasonable way to use the user interface using fragments containing more or less fragments, taking into account the change in orientation .

+2
source share

All Articles