I’m new to developing on android and I wonder how you organize your android projects?
I have done a whole bunch of projects in ruby on rails lately, so is there a possibility to use a MVC-style approach?
I’m new to developing on android and I wonder how you organize your android
Share
Yes, you surely can use a MVC pattern, meaning you will make a different class for the
activity, a class for theviewobjects and a class for some “controller” objects. Also, MVC is implemented in many Java library classes, so is preatty handy that you do well with this pattern.I’ll give you an example: the
ListViewimplements this pattern and you will be able to model the data separatelly from the layout and front-end.