What is the best practice for creating the packages in android project -
i little bit confused on point. on basis should create packages means based on functionalities or based on type of class.
please tell me best practice followed in android design package structure.
for recent case, have kept activity's , services together. async tasks together, , support package keep globals, sharedpreferences adapters , other helper classes. makes easy me focus , run basic junits on packages other ui package (activity , service one).
when see test project , dev project, easy know if have missed out on class test, since compare packages , contents. maintaining consistency between projects key.
Comments
Post a Comment