I'm working on a project where I'm making use of several fragments
and only a activity
. Given a search, I saw that many places suggest using fragments
when the code will be reused, so I wondered where to use fragments
and where it would be more interesting to use activities
.
The flow of my project goes like this;
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 the flowchart is clear, at the moment I am without any program to do something more appropriate. In my case, there is only activity
in all these screens, and of these only the view screens are reused (even fragment
). All others are fragments
which, although used constantly, are not reused .
My question is: where in this scenario is it better to use activities
instead of fragments
?