0
I’m working on a project where I’m making use of several fragments
and only one activity
. Giving a researched, I saw that many places suggest the use of fragments
when the code of the same will be reused and therefore I wondered where I should use fragments
and where it would be more interesting to use activities
.
The flow of my project follows as follows;
Tela de login > Tela de lista > tela de inserção de item na lista
> tela de visualização de item da lista
> tela de itens removidos da lista > tela de visualização de itens removidos da lista
> tela de relatórios
I do not know if it was clear the flowchart, at the moment I have no program to do something more suitable. In my case, there is only one activity
on all these screens, and of these only the visualization screens are reused (same fragment
). All the others are fragments
which, despite being used constantly, are not reused.
My question is: where, in this scenario, is the best use of activities
in place of fragments
?