Fragmentos VS Actividades: ¿Mezclar ambos es una buena idea?
Frecuentes
Visto 362 veces
0
Is it a good idea to mix Fragments
y Activities
? In my app, few windows need to be Fragments
because they should have ViewPager
. Other screens are normal.
So my question is, when you started using Fragments, do you use Fragments everywhere? Whether it is needed or not? My app should support 5 inch to 4 inch screen only anyway.
0 Respuestas
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas java android user-interface android-fragments android-activity or haz tu propia pregunta.
i use both in my application and work fine - Bhanu Sharma
i also use fragment activity - Bhanu Sharma
Check out some opinions on related thread: ¿Cuántas actividades vs fragmentos? - Richard Le Mesurier
@RichardLeMesurier: So basically what you mean is keep one activity? (The main) - PeakGen
You use activities anyway (at least one). In some aspects, activities are easier to manage, but they have some limitations. It's OK to use both where it does the job. - Display Name