Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello every one.

I developed a project in android environment that works fine and it is exactly same as xd file(Adobe xd) that employer give it to me. but unlike apk file that is very good when a programmer from employer side seen my codes he say your codes are not modular. for example he say you must use one custom button for all section of project with some constructor font theme or about styles and padding margin or colors he say you must have comment for colors for me to understand . or he say you must not code in Activity. how can i make a project modular. please answer me with sample code for better understanding. thanks a lot.

What I have tried:

developed a android project from 0 to 100
Posted
Comments
[no name] 8-Feb-20 0:59am    
https://softwareresearch.net/fileadmin/src/docs/teaching/WS06/SE1/SE1_lect11.pdf
_Starbug_ 8-Feb-20 1:36am    
thanks for your response Gerry Schmitz. it is not clear enough for me.
Richard MacCutchan 8-Feb-20 4:32am    
That is an impossible question to answer in a Quick Answers forum. If you do not understand the basic concepts of modern programming principles you need to find a good book that explains it in details with examples.
_Starbug_ 8-Feb-20 5:31am    
@Richard-MacCutchan : i understand the question type. i have no problem with creating class or methods. but some of my codes are in activity. for example i used btn.setvisibility(View.Visible) inside other views click. and they say your codes are not modular. they say some part of code not all.
Richard MacCutchan 8-Feb-20 6:10am    
Then you need to talk to the people who say it is not modular, and ask them to explain why.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900