java - One Controller for different views?(MVC) -


i got app, has homescreen. on homescreen can click buttons, open other views(for music, gallery, video, games etc.). ask myself, if should use 1 controller of these views or 1 controller 1 view. music , video views got same buttons , hyperlinks.the gallery, games , settings views have different ui controls. searched in internet answer, can't found anything, when create new controller.

the recommendation use separate controllers. don't have if pages not have lot of functionality on them.


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -