I have to do some reverse engineering and make a class diagram of an application for android already done, but I really do not know if I should add the activities and fragments of the app or they can go in another diagram.
I have to do some reverse engineering and make a class diagram of an application for android already done, but I really do not know if I should add the activities and fragments of the app or they can go in another diagram.
Everything depends on what you want to document. Class diagrams are very dependent on the context you want to clarify the programmer. In my case I do not include the activities in the class diagrams, I focus on the functional classes and I leave the activities as part of the presentation layer.